The Bookstore API is a RESTful API built with a focus on DevSecOps practices to ensure security throughout the development lifecycle.
- Users
./manage test- Make sure Docker is installed locally. Checkout installation here Docker
- Make sure Postgres is installed locally. Checkout installation here Postgres
- Clone the project.
git clone https://github.com/CyrilBaah/bookstore.git cd bookstore- Change the env.example file to .env
- Run
docker-compose build --no-cache- Run
docker-compose build up$ ./manage.py spectacular --color --file schema.yml- Users
./manage seed_usersdocker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name- Test Cases: The pipeline runs unit tests using
./manage testto ensure code functionality.
- Dependency Check: Scans installed packages for security vulnerabilities by using Pyraider.