Giter Site home page Giter Site logo

e-commerce's Introduction

FIRST SETUP

Only for the first time you use this project

Install dependencies

Visit every folder and run :

    npm install

Run the project

Run 3 databases in different terminals:

    surreal start --user root --pass root --bind 0.0.0.0:8090 memory
    surreal start --user root --pass root --bind 0.0.0.0:8080 memory
    surreal start --user root --pass root --bind 0.0.0.0:8000 memory

Run 3 servers in different terminals like this:

    cd cse-shop
    swagger project start

If you want to test APIs and edit using swagger, you can run these similar to the above command:

    cd cse-shop
    swagger project edit

Run the full stack clients: (run my-app before bank-app so that my-app has port 5173 and bank-app has port 5174)

    cd my-app
    npm run dev -- --open

Load users into banks before signup:

    curl -X POST \
	 -u "root:root" \
	 -H "NS: myapplication" \
	 -H "DB: myapplication" \
	 -H "Accept: application/json" \
	 -d "{"balance": 9800,"email": "[email protected]","id": "user:618lyjgbhancoqjrz8mw","password": "root","uuid": "2020","verified": false}" \
	 http://localhost:8080/sql

Note: If you want to run the project again, you only need to run the servers and clients. No need to install dependencies again. The full stack applications are:

  • bank-app
  • my-app The servers are:
  • cse-shop
  • cse-logistics
  • la-banque

FEEL FREE TO USE THIS PROJECT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.