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.git
Install the dependencies
npm i
# create .env fil,
# copy data in .env.example to .env file created
# set the values for the variables
Database 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:seed
Run the development version of the App
npm run dev
Rebuild documentation
npm run docs
Run Automated test
npm run test
Start the application in production
npm start
acount 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