A simple authentication API for the books gallery app
- NodeJS/Express
- Postgres/Sequelize ORM
-
Clone the repository:
git clone https://github.com/she-code-africa/WOSCA-book-gallery-api
-
Navigate into the app's root directory:
cd WOSCA-book-gallery-api
-
Create a Postgres database for your local development with any name of your choice.
-
Create a
.env
file in the root directory using the sample.env.sample
file and update the database URL with your connection credentials -
Globally install sequelize cli
npm install -g sequelize-cli
-
Run migrations
sequelize db:migrate
-
Install all dependencies:
npm install
-
Install all dependencies:
npm run start:dev
Refer to the contribution guidelines for this project here