This is the back-end server API for my second Full-Stack Capstone project for Thinkful's software engineering bootcamp.
- Node
- Express
- PostgreSQL
All responses come in standard JSON. All requests must include a content-type of application/json and the body must be valid JSON.
** This app requires authorization/authentication. The front end provides a Demo account from the database, or the user can create their own.
- Must be a valid user in the database
- GET
- POST
- Must be a valid user in the database
- DELETE
- PATCH
- Authorization Login for user in the database
- POST
- refresh authToken
- POST
- create a new user in the database
- create JWT for user
- POST
- Live App: https://reflect-app-rouge.vercel.app/
- Live App GitHub Repo: https://github.com/t-keazirian/reflect-app
To seed the meditations table: psql -U dunder_mifflin -d reflections -f ./seeds/seed.meditations.sql
To seed the users table: psql -U dunder_mifflin -d reflections -f ./seeds/seed.users.sql
To connect to the database: pg_ctl -D /usr/local/var/postgres start