This is a fullstack web project for scheduling private jiu jitsu classes for the AG Jiu-Jitsu academy, consisting of a frontend in React and a backend in Node.js. For more information visit: https://agjiujitsu.com.br/login
- Instructors can register days and times available to teach classes.
- Instructors can register the amount charged per hour of class.
- Users can register and log in to access the system.
- Users can view the list of available instructors.
- Users can book and cancel classes.
- React
- React Router
- TypeScript
- CSS3
- Axios (para comunicação com o backend)
- Node.js
- TypeScript
- Express.js (for creating the API)
- SQLite3 (for data storage)
- Knex (SQL query builder)
- JWT (for user authentication)
- Bcrypt (for password encryption)
This project is using node v16.20.0, please use NVM to change between versions.
- Clone this repository:
git clone https://github.com/seu-usuario/nome-do-repositorio.git
- Install frontend dependencies:
cd frontend
yarn install
- Install backend dependencies:
cd ../backend
yarn install
- Configure environment variables in the backend. You will need to create a
.env
file in thebackend
folder with the following variables:
PORT=3001
JWT_SECRET=your-secret-key-to-jwt
- Start the backend server:
yarn start
- Start the frontend server:
cd ../frontend
npm start
Contributions are welcome! Feel free to open an issue or send a pull request with improvements, bug fixes or new features.