Skip to content

Manianise/api_nodejs

Repository files navigation

DOCUMENTATION

NodeJS Sequelize

Implement simple token based NodeJS API with login and signup route + POST, GET, DELETE and PATCH requests


Prerequisites

  • Have a node environment installed
  • Have a MariaDB database available

Configuration and credentials from your database can be found in the config.json file.

For more information about how sequelize works, you can find their documentation here

Run app

npm run start

Using Docker

You can have a test environment with MySQL installed directly here

docker pull mechameleon/api_nodejs:latest
docker run --name <CONTAINER> -e MARIADB_HOST=<MARIA_DB_CONTAINER_IP> --network <CUSTOM_NETWORK> -dp 5134:5134 mechameleon/api_nodejs:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published