Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/itaditya/react-with-express-session-tutorial

a tutorial to show how to integrate react with express-session
https://github.com/itaditya/react-with-express-session-tutorial

express express-session expressjs expressjs-api mongodb mongoose nodejs prettier react reactjs

Last synced: 14 days ago
JSON representation

a tutorial to show how to integrate react with express-session

Awesome Lists containing this project

README

        

# react with express-session tutorial

### Setup -

1. In both **client** and **server** directory run `npm i`.
1. In **server** directory, create a `.env` file having the same fields as in `.env.example`.
1. The server uses MongoDB as a database, so setup a mongo db instance locally or use [MLab](http://mlab.com).

### To run in development mode -

1. In **server** directory run `npm run dev`.
1. In **client** directory run `npm start`.