Giter Club home page Giter Club logo

blog-app's Introduction

Blog-App

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.

Technologies Used

  • 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.

Features

  • 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

Getting Started

Before you start, ensure you bun installed on your machine.

Set Environment Variables

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

  1. Clone the repository.
  2. Navigate to the backend directory and run bun install to install the necessary dependencies.
  3. Start the backend server by running bun api/app.ts.
  4. Navigate to the frontend directory and run bun install.
  5. Start the frontend server by running bun run dev.
  6. Open your browser and navigate to localhost:3000 to see the application in action.

Contributing

Contributions are welcome! Please read the contributing guidelines before making any changes.

License

This project is licensed under the terms of the MIT license.

Contact

If you have any questions or feedback, please reach out to us.

Enjoy blogging with Blog-App!

blog-app's People

Contributors

joshiojas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.