Skip to content

prak112/FullStackOpen-core-part3

Repository files navigation

Overview

  • The entire course is of 14 Parts. Core course is 7 Parts.
  • This repository consists of exercises from Part 3.
  • Check Parts 0 - 2

Part 3 - Programming a server with Node.js and Express

Exercises Description
3.1 to 3.8 Build REST API using Express, API testing using REST Client extension, Middleware logging using morgan
3.9 to 3.11 Deploy backend using Render - Deployed Phonebook app, Deploy frontend production build
3.12 to 3.18 MongoDB-mongoose test deployment, MongoDB-mongoose setup with backend, Error handling Middleware
3.19 to 3.22 Input validation, Refactor to fix ESLint warnings

Project structure

    ├── index.js
    ├── app.js
    ├── controllers
    │   └── contactsController.js
    ├── dist
    │   └─-...
    ├── models
    │   └── contact.js
    |-- node_modules
    |   └─-...
    |-- requests
    |   └─-...
    |-- routes
    |   └─- contacts.js
    ├── utils
    │   ├── config.js
    │   ├── logger.js
    │   └── middleware.js
    |-- .env
    ├── .gitignore
    ├── eslint.config.mjs
    ├── package.json
    ├── README.md 

Interaction between modules

graph LR
    subgraph FRONTEND-'dist'
        PL[Presentation Layer]
        CMP[Components]
        CLAP[Client-API]
    end
    subgraph BACKEND
        subgraph SERVER
            I[index.js]
            A[app.js]
        end
        subgraph UTILITIES
            CNF[config.js]
            LG[logger.js]
            MW[middleware.js]
        end
        subgraph CONTROLLERS
            C[contactsController.js]
        end
        subgraph ROUTES
            R[contacts.js]
        end
        subgraph MODELS
            M[contact.js]
        end
    end
    subgraph DATBASE
        MDB[MongoDB]
    end

    PL <--> CMP
    CMP <--> CLAP
    CLAP <--> I
    I <--> A
    A <--> C
    A <--> R
    A <--> CNF
    A <--> LG
    A <--> MW
    C <--> M
    M <--> MDB
    R --> C
Loading


About

Exercises from Part 3 of 7 (Core) Full Stack Development Open University course from University of Helsinki for learning MERN stack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors