Giter Club home page Giter Club logo

social-media-backend-nodejs-express-postgresql-prisma-clean-architecture's Introduction

Zima Blue Social Media App

Description

This is a social media backend app built using Node.js, Express, Prisma, and PostgreSQL. The app allows users to post and comment on various topics, fostering a vibrant community.

Features

  • User registration and authentication using JSON Web Tokens (JWT).
  • Create, read, update, and delete posts.
  • Comment on posts and reply to comments.
  • Like and react to posts and comments.
  • Real-time updates using WebSockets. (coming soon)

Backend Setup

  1. Clone the repository.

  2. Install the required dependencies by running the following command inside the Node.js project directory: npm install

  3. Create a .env file in the root of the Node.js project and add the following configurations: DATABASE_URL=your_postgres_connection_string_here JWT_SECRET=your_jwt_secret_here -- Replace your_postgres_connection_string_here with your PostgreSQL database connection URL and your_jwt_secret_here with your desired JWT secret for authentication.

  4. Migrate the database schema using Prisma by running the following command: -- npx prisma migrate dev

  5. Start the Node.js server: -- npm start

The app should now be running on your device/emulator.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

social-media-backend-nodejs-express-postgresql-prisma-clean-architecture's People

Contributors

hasanneke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

social-media-backend-nodejs-express-postgresql-prisma-clean-architecture's Issues

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.