/classfieds-api

Rest API for Classifieds mobile app

Primary LanguageTypeScript

Project Name

Classifieds API

QuickStart & Installation

  • Make sure you have Node.js and npm installed
  • Clone this repository, cd into it and follow the following steps
npm install
  • Copy the environment variables example file .env.example and create a new .env file with the same keys, and then give them values of your choice

Database configuration

  • The following commands create a database, runs migrations to create tables, run seeders to add default data into the database
 npm run db:create
 npm run db:migrate
 npm run db:seed

Run the server

npm run dev

Build the project

npm run build