Git Product home page Git Product logo

sunilgitb / projectmate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rohitdasu/projectmate

0.0 0.0 0.0 24.15 MB

Supercharge your open-source contributions with projectmate.net; Discover open-source projects, connect with experienced maintainers, and collaborate with a community of passionate contributors. Join over 150 registered users who are already making a difference

Home Page: https://projectmate.net

License: MIT License

Shell 0.07% JavaScript 0.95% TypeScript 97.17% CSS 0.65% Dockerfile 1.17%

projectmate's Introduction

PROJECTMATE - Supercharge your open-source contributions

COVER-PROJECTMATE

Discover open-source projects, connect with experienced maintainers, and collaborate with a community of passionate contributors. Join over 150 registered users who are already making a difference

Demo

Screenshot 2023-04-21 at 7 59 29 PM

Check out the web app ๐ŸŒ : https://projectmate.net/

Connect with us

As a community, we always encourage people to share their thoughts and ideas. Do you want to talk to us? Join and Follow our Discord server and Twitter page โฌ‡๏ธ

DISCORD - Join TWITTER - Join

Figma design:

FIGMA - View

Tech stack

Next.js tailwind css MongoDB Prisma Figma

  1. Frontend - Next.js Client
  2. CSS Framework - Tailwind CSS
  3. Backend - NextJS APIs + Next Auth + MongoDB + Prisma ORM
  4. Design & Prototype - Figma

Installation steps

Standard installation

Prerequisites

Before getting into it, make sure you have yarn and prisma installed.


  1. Fork the project ๐Ÿ”ง

  2. Clone the project by running the following command on the terminal ๐Ÿ”ฝ

    git clone https://github.com/<your-github-username>/projectmate.git
  3. Go into the project directory ๐Ÿ”ฝ

    cd projectmate
  4. Create an .env file from the .env.template file (copy everything in the .env.template file and put it in the .env file with appropriate values) ๐Ÿ“„

    • MONGODB_URI is the connection string which you'll get from mongodb for reference.
    • NEXTAUTH_SECRET Just pass any random string or you can quickly create a good value on the command line via this openssl command.
    openssl rand -base64 32
  5. Install all the dependencies โœ…

    yarn
  6. Synchronize your Prisma schema with your database schema ๐Ÿ—ƒ

    yarn prisma db push
  7. Insert required data to your database โœ…

    yarn prisma db seed
  8. Start the application development server ๐Ÿš€

    yarn run dev

Installation using docker

NOTE: Docker set up is highly recommended mainly on linux systems due to possible performance issues on other platforms.

  1. Fork the project ๐Ÿ”ง

  2. Clone the project by running the following command on the terminal ๐Ÿ”ฝ

    git clone https://github.com/<your-github-username>/projectmate.git
  3. Go into the project directory ๐Ÿ”ฝ

    cd projectmate
  4. Create an .env file from the .env.template file (copy everything in the .env.template file and put it in the .env file with appropriate values) ๐Ÿ“„

    • MONGODB_URI is the connection string, in this case your connection string should look exactly like this mongodb://root:root@mongo:27017/projectmate?authSource=admin
    • NEXTAUTH_SECRET Just pass any random string or you can quickly create a good value on the command line via this openssl command.
    openssl rand -base64 32
  5. Build docker containers ๐Ÿ”ฝ

    docker compose build
  6. Start containers in a background ๐Ÿ”ฝ

    docker compose up -d
  7. Synchronize your Prisma schema with your database schema ๐Ÿ—ƒ

    docker compose exec web yarn prisma db push
  8. Insert required data to your database โœ…

    docker compose exec web yarn prisma db seed

You can access logs from web or mongo container by docker compose logs e.g:

docker compose logs web -f

If you want to stop containers just run:

docker compose stop

Or if you want to stop and remove containers, networks:

docker compose down

NOTE: If you want to add new package, you must use

 docker compose exec web yarn add [package]

Then (also if you pulled branch with changes to package.json) rebuild containers:

 docker compose up --build -d

You cannot perform yarn build from your local machine - you need to use:

 docker compose exec web yarn build

Contributing Guidelines ๐Ÿ“œ

Any contributions you make are truly appreciated, go to our CONTRIBUTING.md file for more information.

Code of Conduct ๐Ÿ“œ

View CODE_OF_CONDUCT.md

Contributors โœจ

Support โญ

Don't forget to leave a star โญ if you want to support us.

License ๐Ÿ“ƒ

projectmate is licensed under the MIT License - see the LICENSE file for details.

projectmate's People

Contributors

adityapainuli avatar aryankhubchandani avatar ayush0054 avatar dhruvgoyal3118 avatar gmbermeo avatar jakubchorzepa avatar jdbowma avatar jdomil avatar kidesleo avatar kumaryogesh17 avatar leewan-09 avatar luciohenrique512 avatar matmont avatar meetwithyash avatar olaleye-blessing avatar pewpewnor avatar pushkaraj2007 avatar rakeshsangem avatar rodrigorvsn avatar rohitdasu avatar rounak-28 avatar rupali-codes avatar sachdevlaksh avatar thaungthanhan avatar titusjoyson avatar tom-laplace avatar vladbrok avatar williamssam avatar yazdun avatar zvolcsey 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.