Skip to content

twicks95/uvies-backend-RESTfull-API

Repository files navigation

ExpressJS - Uvies RESTfull API

This RESTfull API was built for every aplication that need to get or collect data information from uvies database. To know how to take or perform any action based on desired, you can read our postman documentation to see all end point. More about Express

Built With

Express.js Node.js

Requirements

  1. Node Js
  2. Node_modules
  3. Postman
  4. Web Server (ex. localhost)

How to run the app ?

  1. Open the app's directory in CMD or Terminal
  2. Type npm install
  3. Create a new file and name it as .env, set up first here
  4. Turn on Web Server and MySQL using Third-party tool like xampp, etc.
  5. Create a database with the name uvies_app, and Import file sql to phpmyadmin
  6. Open Postman desktop application or Chrome web app extension you have installed before
  7. Choose HTTP Method and enter request url.(ex. localhost:3000/)
  8. You can see all the end point here

Set up .env file

Open .env file on your favorite code editor, and copy paste this code below :

DB_HOST = [Database_host]
DB_USER = [Database_username]
DB_PASS = [Database_password]
DB_PORT = [Database_port]
DB_NAME = uvies_app

SMTP_EMAIL = [Sender_email]
SMTP_PASSWORD = [Sender_email_password]

License

© Teguh Wicaksono

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published