1Server

Launch Your Startup on 1 Server with 1 Command

about πŸͺΆ

1Server is a template designed for building full-stack apps with a focus on ease of development, seamless deployment, cost efficiency and customization.

With a single command, you can deploy it to production on a single server for just $6/month.

It uses Next.js, FastAPI, Postgres and Docker.

Read the launching post here for more details.

features πŸ› οΈ

  • βœ… CRUD endpoints example πŸ’Ώ
  • βœ… auth with Google πŸ”
  • βœ… auth with email/password πŸ”
  • βœ… protected endpoints via API keys πŸ”‘ and/or session cookies πŸͺ
  • βœ… 1 command setup (for dev and prod) πŸš€
  • βœ… all in Docker 🐳
  • βœ… automatic HTTPS πŸ”
  • βœ… Stripe integration πŸ’³
  • βœ… email sending with SMTP (compatible with Gmail, AWS SES, Resend, SendGrid, ...) βœ‰οΈ

pricing πŸ’Έ

$49 for lifetime updates

faq ❓

Q: What are the monthly costs of using 1Server in production?

A: This will depend on your traffic and the cost of the server. A minimum of $6/month for the cheapest server on DigitalOcean.

Q: When updates will be released?

A: Every day, every week, every month... It all depends on your feedback and your needs (and mine too).

Q: What is the tech stack of 1Server?

A: Next.js, FastAPI, and Postgres. All in Docker. That's it.

Q: But Next.js also offers API routes. Why use FastAPI for the backend?

A: Customization and ease of development. With FastAPI, you just write Python and it's much easier to customize for advanced use cases.

Q: Is this website created with 1Server?

A: Yes.

author πŸ˜‰

I am ClΓ©ment Thiriet, a Machine Learning Engineer and Full Stack Developer.

changelog πŸ‘¨β€πŸ³

v0.1.0 - October 23, 2024

  • initial beta release

v0.2.0 - October 28, 2024

  • auth with session cookies
  • improve docker compose
  • improve scripts

v0.3.0 - November 5, 2024

  • request rate limiter
  • doc improvements

v0.4.0 - December 4, 2024

  • hash API keys with SHA256
  • hash session tokens with SHA256 instead of argon2
  • various code improvements