The AMC Carpool API is an Express/Sequelize application serving as the backend for the AMC Carpool Frontend web app. It handles the core business logic and data operations, providing endpoints necessary to support the frontend's features.
- Node.js and npm installed. You should install them via Node Version Manager.
- Docker installed. Ideally with a CLI. Getting a docker CLI working with Windows is tough, so Mac/Linux are your best bets.
- Clone this Repository
git clone https://github.com/kjohnson0451/amc-carpool-api.git
cd amc-carpool-api
- Install Dependencies
npm install
- Start the Development Environment
# If you get a 'Cannot connect to the Docker daemon' error, you
# may have some troubleshooting to do. Go back and make sure
# you followed all the docker installation steps.
docker compose up
- Access the Application
Once the containers are up and running, access the application at http://localhost:3000 in your web browser. You should get a message along the lines of "Welcome to the root endpoint. This app is running fine."
- Shutdown the Development Environment
To stop the running containers, use:
docker compose down
This will stop and remove the containers created for the development instance.
- JavaScript
- Node.js
- Express
- Sequelize