Skip to content

solehudin5699/E-DRESS-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Dress App - Backend

Contents

Description

This is RESTful api design for E-Dress App frontend. Built with Node js, using ExpressJs framework and other libraries.

Requirements

Installation

  1. Open your terminal or command prompt
  2. Type git clone https://github.com/solehudin5699/E-DRESS-backend.git
  3. Open the folder and type npm install for install dependencies
  4. If you haven't installed nodemon, please install it globally, type npm install -g nodemon
  5. Create database such as named e-dress_db and import database e-dress_db.sql in folder sql to your new database
  6. Create file .env in root folder with the following contents :
DB_HOST = 'localhost'
DB_USERNAME = 'root'
DB_DATABASE = 'e-dress_db'
DB_PASSWORD = ''

PORT = 8000
SECRET_KEY_ADMIN='ADmIn'
SECRET_KEY_CUSTOMER='CUstOmer'

Customize DB_HOST, DB_USERNAME, and other key with the one you are using.

  1. Run XAMPP control panel
  2. Type npm run server or npm start in terminal for run this backend.

Related Project

Frontend E-Dress App that use this RESTful API.

About

RESTful API for E-Dress App , built with ExpressJs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published