Code Monkey home page Code Monkey logo

full-stack-project's Introduction

Full Stack Chat Application

Welcome to the Full Stack Chat Application! This project provides a simple yet powerful messaging system with backend and frontend components.

Features

  • Create conversations between users
  • Send and receive messages in real-time
  • Delete conversations and messages

Technologies Used

  • Backend:

    • Node.js
    • Express.js
    • Prisma ORM
    • PostgreSQL
    • Socket.io (for real-time messaging)
  • Frontend:

    • React.js
    • Tailwind CSS
    • Daisy UI
    • Socket.io (for real-time updates)

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js installed
  • PostgreSQL database set up
  • Prisma CLI installed globally (npm install -g prisma)

Installation

  1. Clone the repository:

    git clone [email protected]:ilham-saleh/full-stack-project.git

Insatallation

  1. cd full-stack-chat-app

  2. cd backend npm install
    cd frontend npm install

  3. Set up your environment variables:

Create a .env file in the backend directory with the following content: DATABASE_URL="your_postgresql_database_url_here"

Replace "your_postgresql_database_url_here" with the actual URL of your PostgreSQL database.

  1. Migrate and seed the database: cd backend npx prisma migrate dev --name init npx prisma db seed --preview-feature

Usage

  1. cd backend npm start

  2. cd frontend npm start

Contributing

If you would like to contribute to the project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name.
  3. Commit your changes: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

full-stack-project's People

Contributors

ilham-saleh 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.