Skip to content

dublino8576/habigotchi-back-end

 
 

Repository files navigation

Habigotchi Back-End API

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

📦 Requirements

🚀 Getting Started

1. Clone the repository

git clone https://github.com/your-username/habigotchi-back-end.git
cd habigotchi-back-end

2. Install dependencies

npm install

3. Set up environment variables

(create .ENV files for dev or production and insert this)

DATABASE_URL=your_local_database_url_here

4. Set up the databases

npm run setup-dbs

5. Seed the database for dev

npm run seed

or

Seed the database for prod

npm run seed-prod

6. Start the server

npm start

7. Run the tests

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%