Skip to content

aleksivaisanen/teekkariwappu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teekkariwappu.fi

Teekkariwappu.fi, wappu app built with the MERN stack along with Redux for state management and Reactstrap.

Quick Start

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

Deployment

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

App Info

Author

Aleksi Väisänen
Github

Original server template made by:
Brad Traversy
Traversy Media
Github

Version

1.0.0

License

This project is licensed under the MIT License