Welcome to connorlittleton.api! A simple jsonplaceholder alternative using my own API, a custom docs site, CICD pipeline, etc.
This directory contains a Terraform module to deploy the API on an EC2 instance. At one point I had the EC2 instance configured with a docs site and API but I removed it. Checkout my blog post on how I configured it though.
This is an un-finished nextra site, but demonstrates how you can easily setup documentation around your API.
This is the meat of the project, this is where the API lives!
- /posts 100 posts
- /comments 500 comments
- /albums 100 albums
- /photos 5000 photos
- /todos 200 todos
- /users 10 users
🌱 Just run the seed script and you're all set!
pnpm prisma:seed
Check the database out with prisma studio
pnpm prisma:studio