An open API service indexing awesome lists of open source software.

https://github.com/ekamid/gopone-a-mernstack-anonymous-messaging-app

It's an anonymous messaging app build in MERN stack.
https://github.com/ekamid/gopone-a-mernstack-anonymous-messaging-app

mern mern-project mern-stack mongodb mongodb-database mongoose node node-express nodejs react-con react-hook reactjs

Last synced: 4 months ago
JSON representation

It's an anonymous messaging app build in MERN stack.

Awesome Lists containing this project

README

        

# 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
5. Managing state using Context API
6. 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

#### https://gopone.herokuapp.com/

## 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

```bash
npm install -g create-react-app
```

## Cloning and Running the Application in local

Clone the project into local

```bash
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

```bash
npm install
npm run client-install
```

In order to run the application Type the following command

```bash
npm run dev
```

The Application Runs on **localhost:3000**
The server runs on **localhost:3000**