Skip to content

aldoBangun/food-paradise

Repository files navigation

Food Paradise RESTful API

Food Recipe API created with ExpressJS and PostgreSQL

Demo API

Food Paradise REST API

Usage for development

  1. Clone this repo

    git clone https://github.com/aldobangun/food-paradise.git food-paradise
    
  2. Go to app directory

    cd food-paradise
    
  3. Install dependencies using npm install

  4. Create new database named food_paradise

  5. Create database tables by running this command in your terminal

    psql -U <db_username> -h <db_host> -p <db_port> -d <db_name> -f config/tables.sql
    

    for example:

    psql -U postgres -h localhost -p 5432 -d food_paradise -f config/tables.sql
    

    and then enter your database password

  6. Rename .env.example to .env

  7. Open .env and insert your environment variables there

  8. Run the server using npm run dev

  9. Download or Open Postman

  10. To easily test the API you can download and import this postman collection to your postman or you can get it on API Documentation below

API Documentation

About

A RESTful API for food recipe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published