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 by copying the sample file and updating the database variables with your connection credentials, as well as the JWT signing secret. -
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