This is the frontend for a ticketing system used for events at the Instituto Federal de Educação, Ciência e Tecnologia de São Paulo, Campus Cubatão. Built with Next.js, this application provides a seamless experience for managing and purchasing event tickets.
To get started with the project, clone the repository and follow the installation instructions below.
Clone the repository:
git clone https://github.com/ifspcbt-devspace/ifsp-eventos-web.git
cd ifsp-eventos-web
Install dependencies:
npm install
To run the application in development mode:
npm run dev
The application will be accessible at http://localhost:3000
.
Make sure to configure the following environment variables before running the application:
IRON_SESSION_PASSWORD=123456789
API_BASE_URL=https://example.com/v1
You can create a .env.local
file in the root of the project to store these variables:
IRON_SESSION_PASSWORD=123456789
API_BASE_URL=https://example.com/v1
This project includes a Dockerfile
for easy deployment. To build and run the Docker container:
Build the Docker image:
docker build -t ifsp-eventos-frontend .
Run the Docker container:
docker run -p 3000:3000 --env-file .env.local ifsp-eventos-frontend
The application will be accessible at http://localhost:3000
.
Contributions are welcome! Please make sure to base your pull requests on the develop
branch.
This project is licensed under the MIT License.