This is a RESTful API built with Node.js, Express, and PostgreSQL.
Go to the endpoints.json file to see the functionality of each endpoint. You can run this API locally using your browser for GET methods or programs such as insomnia to test out all the other methods
- Node.js (v16+ recommended)
- PostgreSQL (installed and running)
git clone https://github.com/your-username/habigotchi-back-end.git
cd habigotchi-back-end
npm install
(create .ENV files for dev or production and insert this)
DATABASE_URL=your_local_database_url_here
npm run setup-dbs
npm run seed
or
npm run seed-prod
npm start
npm test