Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/itaditya/react-with-express-session-tutorial
- Owner: itaditya
- Created: 2018-07-07T06:37:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T06:09:52.000Z (over 6 years ago)
- Last Synced: 2024-11-01T06:42:25.258Z (2 months ago)
- Topics: express, express-session, expressjs, expressjs-api, mongodb, mongoose, nodejs, prettier, react, reactjs
- Language: JavaScript
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.