Skip to content

kauefraga/petshop-server

Repository files navigation

Petshop Server

🐶 A simple and modern petshop service (CRUD) 🐶

GitHub top language Repository size GitHub last commit GitHub LICENSE

⬇️ How to install and use it

git clone https://github.com/kauefraga/petshop-server.git
cd petshop-server

pnpm ci
pnpm dev

You are welcome to open issues and pull requests!

🔐 Environment Variables

  1. PORT: it's used by our http server to listen at (default: 3333)
  2. DATABASE_URL: needed to connect to the database
    • ex.: postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=public
  3. POSTGRES_PASSWORD: password that postgres requires

🛠 Technologies

  • Cuid2 - Secure, collision-resistant ids optimized for horizontal scaling and performance. Next generation UUIDs.
  • Fastify - An efficient server implies a lower cost of the infrastructure, a better responsiveness under load and happy users. Framework based on plugins.
  • Prisma - The best ORM for Typescript.
  • Typescript, tsx and tsup - Improve the DX by adding type safety and a blazingly fast execution/build provided by esbuild
  • Docker - Use virtualization/containerize to turn your "work on my machine" into "our machine".

📝 License

This project is licensed under the MIT License - See the LICENSE for more information.


Built with love Powered by coffee

About

🐶 A simple and modern petshop service (CRUD)

Topics

Resources

License

Stars

Watchers

Forks