- Prerequiste
- Installation
- Create Environment Variable
- Start Development Server
- Postman Collection
- API Endpoint
- About Project
- Related Project
- Contributing
- Contact
- Node.js - Download and Install Node.js.
- MySQL - Download and Install MySQL
- Redis - Download and Install Redis
$ git clone https://github.com/defri-ansyah/Ankasa-API.git
$ cd Ankasa-API
$ npm install
DB_HOST=YOUR_DB_HOST
DB_USER=YOUR_DB_USER
DB_PASSWORD=YOUR_DB_PASSWORD
DB_NAME=YOUR_TABLE_NAME
PORT=YOUR_PORT
SECRET_KEY = YOUR_SECRET_KEY
URL_EMAIL_CONFIRM = YOUR_EMAIL_VALIDATION_PAGE_FRONTEND
EMAIL = YOUR_EMAIL_CONFIRMATION
PASSWORD = YOUR_EMAIL_PASSWORD
$ npm run serve
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | POST | /api/auth/signup | Register new user |
2 | POST | /api/auth/login | login user |
3 | POST | /api/auth/forgot-password/request | Request forgot password via email |
4 | POST | /api/auth/forgot-password/new-password/:token | Forgot password |
9 | PATCH | /api/auth/edit-password | Edit password from profile user |
No | HTTP Method | URI | Operation |
---|---|---|---|
1 | PATCH | /api/user/edit-profile | Edit profile user |
2 | PATCH | /api/user/update-image | update image user |
3 | DELETE | /api/user/delete-image | Delete image user |
4 | GET | /api/user/detail | Get detail user |
Ankasa is a project inspired by one of Unicorn in Indonesia. It's API made for Ankasa using Node Js and Express Js
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
Fork the Project
- Create your Feature Branch
git checkout -b [feature]
- Commit your Changes
git commit -m 'Add some feature'
- Push to the Branch
git push origin [feature]
- Open a Pull Request
Copyright © 2020 Defri Ansyah