A todo/task/project management app built with the MERN stack, with user accounts / authentication, teams, projects and deployment to Heroku.
- Once cloned, run
npm run setup
from root. - Subsequently,
npm run dev
from root for local development.
cd client
npm run build
NODE_ENV=production node server.js
- Open browser to http://localhost:5000/
- Make a copy of
config/default.example.json
toconfig/default.json
with your cloud.mongo/atlas values to work locally in test. For production, create aconfig/production.json
file respectively and make sure to ignore this file.
- Create a Heroku account.
- Install heroku cli via their installer (link to heroku) or homebrew.
- Log into your heroku account with
heroku login
. - Create the application on heroku with
heroku create
. - And subsquently push to heroku with
git push heroku master
.
- Add a
./Merndo.postman_collection.json
to rapidly setup the endpoints. - Add a mailer via Nodemailer or service like mailgun.
- Add testing with mocha/chai for API endpoints.
- Integrate dotenv to replace config/* values.
- Currently this project encompasses both the api and the frontend, and deploys all of it to heroku; consider abstracting the two into their own housing.