The Workout API is a RESTful API built using Node.js and Express, designed to help users manage their workouts. This API allows you to create, read, update, and delete workout CRUD.
- Clone the repository:
git clone https://github.com/yourusername/workout-api.git
- Change to the project directory:
cd api-rest-workout
- Install the required dependencies:
npm i
- Fill in the appropriate values in the
.env
file, such as PORT number. - Start the server:
npm run dev
for production runnpm run start
.
The API will now be running on http://localhost:PORT
.