Skip to content

kasaneework/e-commerce-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FYI*

This project not done 100% yet. but you can run it and play with it.

1.open e-commerce and e-commerce-server on vscode

2.open terminal both of them and run command => npm install

3.e-commerce run command => ng s -o

4.turn on mysql on local

5.e-commerce-server set config app->config

6.e-commerce-server set server.js =>> see //-- RUN BD Migration

6.1. // ####### 1. //--comment out and run at first time to init DB and Table after that comment it all again

6.2. // ####### 2. //-- comment all no 1. and comment out no 2.

7.e-commerce-server run command => npm run dev

8.Front-end:: localhost:4200 and localhost:4200/admin

9.Back-end:: localhost:5000

10.Create first admin:: localhost:5000/api/auth/signup

11.post man

{ "firstname": "", "lastname": "", "phone": "", "username": "", "email": "email", "password": "", "roles":["admin"] }

e-commerce-server

The default Node.js app that will be pushed into the Swisscom Application Cloud if no source code is provided.

Based on Express.

Run locally

  1. Install Node.js and npm
  2. Run npm install
  3. Run npm run dev
  4. Visit http://localhost:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published