Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/burakys/fastify-example

Fastify URL Shortener example with TypeScript, Swagger and Zod
https://github.com/burakys/fastify-example

api fastify swagger ts typescript url-shortener zod

Last synced: about 1 month ago
JSON representation

Fastify URL Shortener example with TypeScript, Swagger and Zod

Awesome Lists containing this project

README

        

Fastify Logo

# 🚀 Fastify Rest API

A simple example of a REST API using Fastify, TypeScript, Zod and Swagger.


## 🏠 Run Locally
```bash
# 1. Clone the repository:
git clone https://github.com/BurakYs/fastify-example.git

# 2. Go to the project directory:
cd fastify-example

# 3. Install dependencies:
npm install

# 4. Configure the environment variables:
cp .env.template .env

# 5. Edit the configuration files under the `src/config` directory according to your needs.

# 6. Run the project:
npm run dev
```

## 📝 License

This project is licensed under the MIT License. See [LICENSE](./LICENSE) for more information.