MongoDB, ExpressJS, ReactJS and NodeJS
A simple full stack web applicatoin built using the MERN stack to verify the usage and behavior of the MERN stack.
$ git clone https://github.com/TerribleCodes/School-Management-System.git
SCHOOL_MANAGEMENT_SYSTEM
βββ backend
β βββ node_modules
β βββ models
β βββ routes
βββ frontend
β βββ node_modules
β βββ public
βββ βββ src
βββ components
Notice, you need client and server runs concurrently in different terminal session, in order to make them talk to each other
Name | Description | Default Value |
---|---|---|
null |
null |
null |
$ cd frontend // go to client folder
$ npm i // npm install packages
$ npm run start // run it locally
Name | Description | Default Value |
---|---|---|
PORT | URL to the locally running instance | 3000 |
MONGODB_URI | MongoDB Atlas Cluster Connection String | - |
$ cd server // go to server folder
$ npm i // npm install packages
$ npm run dev // run it locally
Client-side | Server-side |
---|---|
axios: ^1.3.4 | cors: ^2.8.5 |
react: ^18.2.0 | dotenv: ^16.0.3 |
react-dom: ^18.2.0 | express: ^4.18.2 |
react-router-dom: ^6.9.0 | mongoose: ^7.0.1" |
react-scripts: 5.0.1 | |
web-vitals: ^2.1.4 |