Blog API services,
- Nodejs,
- Express,
- MySQL
- Sequelise ORM
- Sequelise-cli e.t.c
Basic guide to use the App.
Use need NodeJS to use this, clone the repo and install the dependencies.
git clone https://github.com/abduljeleelng/blog-api.gitInstall the dependencies
npm i# create .env fil,
# copy data in .env.example to .env file created
# set the values for the variablesDatabase services configuration
# create Database if not exist
npm run db:create
# Drop database services
npm run db:drop
# Run migration
npm run db:migration
# Seed demo data
npm run db:seedRun the development version of the App
npm run devRebuild documentation
npm run docsRun Automated test
npm run test
Start the application in production
npm startacount activation
- Auto disable account, until account is activated
- send activation code to the user email to activate account
Forget Password
- send the reset token to the user email
Reset Passsword
- reset password via the token send to the email