Giter Club home page Giter Club logo

car-auction's Introduction

Car Auction Platform

This full stack web application designed to facilitate online auction platform. Built using modern web technologies such as React, Node.js, Express.js, PostgreSQL and Docker. The implementation utilizes RESTful API architecture to ensure smooth communication between the client and server components.

Getting started

  1. Clone the repository:
git clone https://github.com/dm-valdez/car-auction.git
  1. CD to the project directory and create .env file.
cd car-auction
POSTGRES_USER=<YOUR_POSTGRES_USER>
POSTGRES_PASSWORD=<YOUR_POSTGRES_PASSWORD>
  1. Run the docker-compose.yml file
docker-compose up -d
  1. CD to the server directory and create another .env file.
cd server
POSTGRES_HOST=localhost
POSTGRES_DATABASE=postgres
POSTGRES_USER=<YOUR_POSTGRES_USER>
POSTGRES_PASSWORD=<YOUR_POSTGRES_PASSWORD>

SESSION_SECRET=<YOUR_SESSION_SECRET>
PORT=3000
  1. Run this command in your server terminal.
# run this command to install all the dependencies required for the server to run.
yarn install

# run this command to execute database table migrations.
yarn migrate:latest

# run this command to populates the database with predefined data.
yarn migrate:seed

# run this command start the development server.
yarn dev
  1. Open another terminal and CD to the client folder.
cd client
  1. Finally run this command to wrap up the setup.
# run this command to install all the dependencies required for the client to run.
yarn install

# run this command start the React app.
yarn dev

Open http://localhost:5173 with your browser to see the result.

email: [email protected]
password: user123

You can utilize the account created from the seed file to access the application with administrator privileges. Additionally, you have the option to register within the application. However, to transition your role to administrator, you'll need to manually adjust it in the database.

car-auction's People

Contributors

dm-valdez avatar

Watchers

 avatar

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.