Check out the Wiki!
De Urgență was prototyped in Code for Romania's research project, Civic Labs.
The application aims to inform citizens about how to react to the first critical hours in a crisis situation (like that of an earthquake).
It also aims to build healthy habits that become ingrained with time, so that, when the critical moment arrives, each person knows what the key first steps to keeping themselves safe are.
This project is built by amazing volunteers and you can be one of them! Here's a list of ways in which you can contribute to this project. If you want to make any change to this repository, please make a fork first.
If you would like to suggest new functionality, open an Issue and mark it as a [Feature request]. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like, if you are suggesting new UI elements.
.NET 5.0 (C#)
NuGet
PostgreSQL
Android repo
iOS repo
Web app - frontend
Web app - backend
- Navigate to
/src
- Copy
.env.example
to.env
- Build images (optional - they will be built in step
4.
if they don't exist)docker-compose -p de-urgenta build
- Start your containers
docker-compose -p de-urgenta up -d
- Navigate to http://localhost:5040/swagger
we use
-p de-urgenta
to distinguish this compose project and you can skip it if you want. (it would inheritsrc
otherwise - you probably have some of those already running)
you can also specify a env file at runtime with docker-compose so you don't necessarily need to take step
2.
- more info here
docker-compose -d up postgres
dotnet ef migrations add <Migration-name> --project DeUrgenta.Domain --startup-project DeUrgenta.Api
DeUrgenta.User.Api> dotnet ef migrations add <Migration-name> --startup-project ..\DeUrgenta.Api\ -o Domain\Migrations --context UserDbContext
graph TD
Controller -- Command / Query--> Mediator
Mediator --> CommandHandler/QueryHanlder
CommandHandler/QueryHanlder --> IValidateRequest
CommandHandler/QueryHanlder --> Database[(Database)]
graph
Query/CommandHandler --> Validator
Validator --> C{Request valid ?}
C -->|true| D[Your logic goes here]
C -->|false| E[Result.Failure]
D --> Database[(Database)]
- Request a new feature on GitHub.
- Vote for popular feature requests.
- File a bug in GitHub Issues.
- Email us with other feedback contact@code4.ro
This project is licensed under the MPL 2.0 License - see the LICENSE file for details
Started in 2016, Code for Romania is a civic tech NGO, official member of the Code for All network. We have a community of around 2.000 volunteers (developers, ux/ui, communications, data scientists, graphic designers, devops, it security and more) who work pro-bono for developing digital solutions to solve social problems. #techforsocialgood. If you want to learn more details about our projects visit our site or if you want to talk to one of our staff members, please e-mail us at contact@code4.ro.
Last, but not least, we rely on donations to ensure the infrastructure, logistics and management of our community that is widely spread across 11 timezones, coding for social change to make Romania and the world a better place. If you want to support us, you can do it here.