This Project is a Simple ReactJS Application which demonstrates the following
- Creating an CRD api in nodejs, express and mongoose
- JTW authentication
- Using React Functional Components alongside hooks
- Managing state using Context API
- Managing Authentication in react
- Using Basic Routing in React
This project is part of my React cardio session. It can be used to build bigger projects
Refer to https://nodejs.org/en/ to install nodejs
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app
npm install -g create-react-app
Clone the project into local
git clone https://github.com/ekamid/gopone-a-mernstack-anonymous-messaging-app.git
cd gopone-a-mernstack-anonymous-messaging-app
Add your mongodb url in .env
Install all the npm packages. Go into the project folder and type the following command to install all npm packages
npm install
npm run client-install
In order to run the application Type the following command
npm run dev
The Application Runs on localhost:3000
The server runs on localhost:3000