Teekkariwappu.fi, wappu app built with the MERN stack along with Redux for state management and Reactstrap.
Add
MONGODB_URI = <your mongodb uri>
JWT_SECRET = <your jwt secret>
to .env file
# Install dependencies for server
npm install
# Install dependencies for client
npm run client-install
# Run the client & server with concurrently
npm run dev
# Run the Express server only
npm run server
# Run the React client only
npm run client
# Server runs on http://localhost:5000 and client on http://localhost:3000
There is a Heroku post build script so that you do not have to compile your React frontend manually, it is done on the server. Simply push to Heroku and it will build and load the client index.html page
Aleksi Väisänen
Github
Original server template made by:
Brad Traversy
Traversy Media
Github
1.0.0
This project is licensed under the MIT License