/CarCatalogv2

Primary LanguageJavaScript

Car Catalog

Preview

Car Catalog

Development

System Requirements

  • Node.js 10 or higher
  • NPM 6 or higher
  • PostgreSQL 15 or higher

Getting Started

  1. Clone the repository.

    git clone https://github.com/tghaffari/carCatalogv2
    cd carCatalogv2
  2. Install all dependencies with NPM.

    npm install
  3. Make a copy of .env.example named .env and set your database url.

    cp .env.example .env
  4. Start PostgreSQL

    sudo service postgresql start
  5. Create a new database with PostgreSQL.

     createdb carCatalog
  6. Import the database to PostgreSQL

    npm run db:import
  7. Start the project. Once started you can view the application by opening http://localhost:3000 in your browser.

    npm run dev