Skip to content

ekamid/gopone-a-mernstack-anonymous-messaging-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A MERN stack Annonymmous Messaging Application

What is in the Repo

This Project is a Simple ReactJS Application which demonstrates the following

  1. Creating an CRD api in nodejs, express and mongoose
  2. JTW authentication
  3. Using React Functional Components alongside hooks
  4. Managing state using Context API
  5. Managing Authentication in react
  6. Using Basic Routing in React

This project is part of my React cardio session. It can be used to build bigger projects

Live Application URL

Prerequisites

Install Node JS

Refer to https://nodejs.org/en/ to install nodejs

Install create-react-app

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

Cloning and Running the Application in local

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