This is the frontend service for the Workout App, built using Next.js and deployed on Vercel.
-
Clone the repository:
git clone https://github.com/BryanElmer/WorkoutApp_Frontend.git cd WorkoutApp_Frontend -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
The frontend will be available at
http://localhost:3000.
- User authentication (login/signup)
- Viewing, creating, updating, and deleting workouts
To run the project locally, you might need to set up some environment variables. Create a .env file in the root of your project and add the necessary variables.
NEXT_PUBLIC_API_URI=http://localhost:PORT_OF_BACKEND_SERVICE
The frontend is deployed on Vercel. To deploy your own version, follow these steps:
-
Install the Vercel CLI:
npm install -g vercel
-
Deploy the project:
vercel
Follow the prompts to complete the deployment.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a Pull Request.