Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 1.74 KB

README.md

File metadata and controls

68 lines (53 loc) · 1.74 KB

BitCamp bidding

Bidding webpage for BitCamp's new course(s).

Running the code

  1. Clone the GitHub repository:

    $ git clone https://github.com/bitcamp-ge/bitcamp-bidding
    
  2. Move into the directory and install npm packages:

    $ cd ./bitcamp-bidding
    $ npm install
  3. Generate prisma client:

    $ npx prisma generate
  4. Apply prisma migrations for development:

    $ npx prisma migrate dev
  5. Run the server:

    $ npm start

                                           

Tech stack

  • Node.js
  • Express.js - Handle HTTP server and routing;
  • Socket.IO - Manage real-time communication;
  • Prisma - Interface with the database;
  • dotenv - Managing environment variables;

Working features

  • Logging into your account, obtaining token;
  • Initial socket connection code for live updates;
  • Working endpoints (/, /login, /dashboard);
  • After login allow the user to submit a bid;
  • Show logged in clients bidding updates on /dashboard;

Todo: features

  • Verify user token;
  • Better design!



✊ სწავლა და ბრძოლა 🔥