Skip to content
damien chapart edited this page Jun 17, 2023 · 2 revisions
Logo

API Rest Full perf N Zen

API qui permet de faire l'interface entre le front et la base de données du projet perf N Zen

Table of Contents

➤ About the Project

Built With

Deployment

Deployed on Vercel at https://api-perf-n-zen.vercel.app/

➤ Getting Started

Prerequisites

  • npm
npm install npm@latest -g
  • node
npm install node@latest -g

Installation

  1. Clone the repo
git clone https://github.com/perf-n-zen/api.git
  1. Install NPM packages
npm install
  1. Create a .env file and add the following variables
DATABASE_URL="postgresql://<username>:<password>@<host>:<port>/<database>?schema=<schema>"
PORT=3000
ACCESS_TOKEN_SECRET=424XXXXXXXX
REFRESH_TOKEN_SECRET=424XXXXXXXX
  1. Run the project
npm run dev

➤ Usage

➤ License

Distributed under the MIT License. See LICENSE for more information.