{"repo":"stav121/actix-angular-project-template","free":true,"listed":false,"github":"https://github.com/stav121/actix-angular-project-template","clone":"git clone https://github.com/stav121/actix-angular-project-template.git","description":"🦀 Project template that uses Actix Web and Angular","language":"TypeScript","stars":21,"topics":["actix","actix-web","angular","docker","jwt","postgresql","rust","web"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"actix-angular-project-template 🦀 Project template that uses Actix Web and Angular with JWT security Description Boilerplate Actix Web (Rust) and Angular project that already contains a JWT security implementation in both backend and Angular, in order to speed up the early stages of development of a full stack project. This application is already dockerized. This project is designed to be an easy base for any full stack project you might like. Try it out! Checkout the repository and start it using docker-compose . Navigate to: http://localhost:4200/ From there, you can register a new user and login to preview the security features. Stack Database PostgreSQL SQL Toolkit SQLx Backend Framework Actix Web Frontend Framework Angular (with PrimeNG) Secrurity Json Web Token (JWT) Existing endpoints Endpoint Method Description /actuator/health check GET Check if the application is up and running /auth/login POST Login a user with the provided credentials, sets up a Cookie for authentication /auth/register POST Register a new user /auth/logout POST Logout the logged in user, remove the authentication Cookie from the user interface /auth/profile GET Retrieve the full profile of the logged in user Existing roles There are two roles defined in the database, USER and ADMIN . When signing up a new user, by default the USER role is assigned. Contributions If you like this project and wish to contribute, feel free to make a Pull Request directly to the main branch. Author Stavros Grigoriou (","default_branch":null,"files":null,"tree":[],"storefront":"/r/stav121","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stav121/actix-angular-project-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}