Skip to content

Gefyaqiilah/Ankasa-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ankasa Ticketing

Node JS GitHub repo size GitHub contributors GitHub stars GitHub forks

Table of Contents

Prerequiste

  • Node.js - Download and Install Node.js.
  • MySQL - Download and Install MySQL
  • Redis - Download and Install Redis

Installation

Clone

$ git clone https://github.com/defri-ansyah/Ankasa-API.git
$ cd Ankasa-API
$ npm install

Create Environment Variable

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

Start Development Server

$ npm run serve

Link Collection Postman

Click Here

API Endpoint

Auth Endpoint

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

User Endpoint

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

About Project

Ankasa is a project inspired by one of Unicorn in Indonesia. It's API made for Ankasa using Node Js and Express Js

Contributing

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

  1. Create your Feature Branch git checkout -b [feature]
  2. Commit your Changes git commit -m 'Add some feature'
  3. Push to the Branch git push origin [feature]
  4. Open a Pull Request

Related Project


Copyright © 2020 Defri Ansyah

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%