Blog-App is a full-stack web application designed for blogging. It's built with modern technologies to provide a seamless experience for both developers and end-users.
- Frontend: Next.js, a powerful React framework that supports features like server-side rendering and static site generation.
- Backend: Fastify, a high-performance web framework for Node.js, and Prisma, an open-source database toolkit.
- Database: PostgreSQL, a robust and scalable relational database system.
- User Authentication: Secure sign-in functionality to protect user data and personalize the user experience.
- Blog Post Management: Users can create, read, update, and delete their blog posts.
click to see demo of the application
Before you start, ensure you bun installed on your machine.
For frontend:
- BACKEND_URL= <location of backend>
- NEXTAUTH_SECRET= <generate a random secret using openssl>
For Backend:
- DATABASE_URL= <database url>
We recommend using hosting the app on vercel and database on aws nevertheless, you can use any other hosting service or if you want to run it locally you can use docker to run the database and run the app using the steps below
- Clone the repository.
- Navigate to the
backend
directory and runbun install
to install the necessary dependencies. - Start the backend server by running
bun api/app.ts
. - Navigate to the
frontend
directory and runbun install
. - Start the frontend server by running
bun run dev
. - Open your browser and navigate to
localhost:3000
to see the application in action.
Contributions are welcome! Please read the contributing guidelines before making any changes.
This project is licensed under the terms of the MIT license.
If you have any questions or feedback, please reach out to us.
Enjoy blogging with Blog-App!