Front part of opensesame project, an authentication service.
Manage users and assign them roles and permissions to perform certain actions.
- opensesame-back set up and running
- Node JS
>=22.11
- yarn
>=1.22
Easiest way to set up the project to use it right away.
- Docker installed and running
- opensesame-back set up and running (can be in Docker too)
- Edit the file
.example.env
with all the parameters, then rename it to.env
- Generate the Docker image
docker build -t opensesame-front:latest .
- Run the Docker image
docker run --env-file .env -p 3000:3000 --name opensesame-front opensesame-front
For feature-testing and development.
- Node JS
- yarn
- Edit the file
.example.env
with all the parameters, then rename it to.env
- Install packages
yarn install
- Run the dev environment
yarn start
NODE_ENV=production # The environment, leave 'production' for usage and 'development' for dev
BASE_URL_API=http://localhost:8080/api # URL of opensesame-back API