Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
/ MiC-Manager Public archive

A backend server API for managing local groups data.

Notifications You must be signed in to change notification settings

ArnyminerZ/MiC-Manager

Repository files navigation

MiC Manager

A backend server API for managing local groups data.

Docker

Running locally

docker build -t mic-manager .
docker run -dp 3000:3000 mic-manager

Docker compose

You can take a look at the docker-compose.yml file to inspire yourself in building a custom version, or just run that one with docker-compose up -d. Everything should work fine.

Development

Requirements

NodeJS

You can download NodeJS for your system from the official website: Node JS

Dependencies

To install all the Node dependencies, run the following command in the project's root directory

npm install

Running

To start the application, run the start script:

npm start

Requests

If you want to register the sample user, run:

curl http://localhost:3000/v1/auth/register -H "Content-Type: application/json" -d @samples/new-user.json -X GET

To log in:

curl http://localhost:3000/v1/auth/login -H "Content-Type: application/json" -d @samples/login.json -X GET