Train, have fun, and find new people who have the same sports interests as you. Fit2gether is an app designed to bring together people from your area who have common sport interests and want to do activities together.
The deployment takes a little longer the first time it is loaded, because Heroku's servers fall asleep.
Install dependencies with:
npm install
Build the app for production to the dist folder:
npm run build
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes
Run the server in production mode and serve production bundle from npm run build:
npm start
Run the app in development mode:
npm run client:dev
Open http://localhost:3000 (default PORT) to view it in the browser. The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.
Run the server in development mode:
npm run server:dev
Run storybook:
npm run storybook
You have to create a .env file inside the main folder.
The file looks like:
PORT=
MONGODB_URL=