No longer maintained. Please see @fiquu/slseed-web-api.
Serveless Seed API project.
- Easy project and service configuration.
- Logical folder structure.
- Simplified authorization handling.
- Simplified database connection management with Mongoose.
- Simplified HTTP response handling.
- Mailing integration with Mailgun.
- Simplified email template rendering.
- Run
npm i. - Run
npm run setup, selectstack, select stage and define stack values. - Wait for it to finish...
- Run
npm run setup, selectenvand select stage. - Run
npm start.
That's it. Your API should be running wherever it says it's running.
- Make sure you have the
.envfile for the stage you want to deploy by runningnpm run setup, selecting the stage and checking if the.env.[stage]exists. - Run
npm run deployand select stage.
- Create a repo.
- Add remote as slseed:
git remote add slseed git@github.com:FinalDevStudio/fi-slseed-api.git
- Disable pushing:
git remote set-url --push slseed DISABLED
- Fetch the latest changes:
git fetch slseed
- Merge the master into your branch:
git merge slseed/master
Repeat the last 2 steps to update your repo with the latest changes from this one:
git fetch slseed && git merge slseed/master
And have fun resolving conflicts!