WebApp to manage student presence in the time of COVID
MIT License
Impresent is a Webapp to manage student presence during time of COVID, when schools can't afford to have everyone on site.
The app should be used by :
The workflow is the following
The class representative :
Future in developement :
Optional :
For windows :
Clone the repo
git clone https://github.com/Ombrelin/impresent.git
Environnement variables
Configure those variables inside your terminal or your IDE.
Name | Description | Exemple Value |
---|---|---|
DATABASE_URL |
Connection string to the PostgresSQL database | postgres://user:password@host:port/database |
JWT_SECRET |
Secret used to sign JWT tokens | 3myB8HRUokgD2uFejKyev4^4 |
Install web application dependencies
cd ImPresent.Web/ClientApp
npm install
Run the app
cd ..
dotnet run
The app is ready when the following log line is printed :
Microsoft.AspNetCore.SpaServices[0] Browser application bundle generation complete.
The WebApi docs are available at the /docs
route.
git clone https://github.com/Ombrelin/impresent.git
cd ImPresent.Web
docker build -t ImPresent.Web .
docker run -d -p 8080:80 ImPresent.Web
or with docker-compose
:
impresent:
image: ombrelin/impresent:1.0
ports:
- 80:8080
container_name: impresent
environment:
- JWT_SECRET="mysecret"
- DATABASE_URL="my postgres url"
restart: unless-stopped