Welcome to the Formula 1 App Backend repository! This backend serves as the data storage and retrieval system for the Formula 1 Web App, allowing users to access historical Formula 1 data from the years 1950 to 2022. The data includes information about races, drivers, and constructors, providing a comprehensive view of the sport's history.
- Fetch and store historical Formula 1 data from the Ergast Developer API.
- Provide RESTful API endpoints for the frontend to access the stored data.
- Efficiently organize and manage Formula 1 data to ensure fast retrieval times.
To set up and run the Formula 1 App Backend on your local machine:
- Clone this repository on your local machine.
git clone https://github.com/m1rels/formula-1-backend.git
cd formula-1-backend
- Install the required dependencies.
npm install
Start the server on your machine using following command:
node index.tsx
The Database is built with SQLite and is modified with a Prisma Schema.