This django built web app utilizes Restful API as well as a user facing site. The app includes full CRUD functionality that allows Creating, Reading, Updating and Deleting cookie stands, on both front-end for users and in admin panel. The site also features API routes. Users are required to be authenticated (via Basic authentication or JWT) to access the API. The app utilizes a Postgres database and is run in Docker container. The app includes JWT authentication to the API and a Gunicorn server. Database is hosted at ElephantSQL. Whitenoise is used to handle static files.
The API is deployed on Vercel, and requires authentication to access routes.
- chatGPT
- ElephantSQL
- Vercel
- N/A
- N/A for deployed site
- See
.env.samplefor example
Front-End
- Visit front-end deployed site
- Login using username and password created below on the api back-end site
- Add cookie stand
- Note: you can only delete cookie stands that you created with your account
Back-end
- Visit deployed back-end and click on
get startedandcreate accountto set up account - Visit front-end deployed site to login
- Note: must be authenticated view routes; staff account required for admin actions; restrictions apply to updating and deleting data that you did not create
- View API at route: https://cookie-stand-api-rhett-chase.vercel.app/api/v1/cookie_stands/
- N/A