https://github.com/diegohidenori/second-bind-challenge
This repository contains the frontend and backend of the Second Bind challenge. The URL to the Vercel deployment is linked below.
https://github.com/diegohidenori/second-bind-challenge
heroku-deployment postgresql vercel-deployment
Last synced: about 2 months ago
JSON representation
This repository contains the frontend and backend of the Second Bind challenge. The URL to the Vercel deployment is linked below.
- Host: GitHub
- URL: https://github.com/diegohidenori/second-bind-challenge
- Owner: DiegoHidenori
- Created: 2024-12-20T20:06:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T21:31:53.000Z (over 1 year ago)
- Last Synced: 2025-10-05T15:59:10.925Z (9 months ago)
- Topics: heroku-deployment, postgresql, vercel-deployment
- Language: JavaScript
- Homepage: https://second-bind-challenge-sigma.vercel.app/books
- Size: 197 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to run the application
- Since the application has been deployed, you can open the URL "https://second-bind-challenge-sigma.vercel.app/books" on the browser.
# Notes:
- The backend was initially made to use a local database, but later changed to a database deployed using Heroku.
# Initial steps taken to set up the backend
- Installed the dependencies and created some files like .env and .gitignore
- Created the schema.sql and setup.js for setting up the database
- run "psql -U admin -f db/schema.sql"
- run "node config/setup.js"
# Steps to run the application (NO LONGER USABLE. Made for the local testing)
1. Install PostgreSQL and create a user, from which you make the environment variables to use on the application.
2. Run setup:
- npm install
- node setup.js (RUN ONCE TO APPLY THE DB SCHEMA)
- npm start