Giter VIP home page Giter VIP logo

creatorsregistry's Introduction

Creators Registry

A place for Creators to get paid for their content ๐Ÿ’ฐ. Companies don't only look for big influencers but also micro influencers. Join the platform and let them find you!

App screenshot

Getting Started

All contributions welcome, not just code.

Technologies

  • NextJS (AppRouter)
  • Prisma
  • Postgres
  • LinkedIn OAuth

Local development

This environment is fully on your computer and requires each dependency to be installed and set up, but it gives you the most flexibility for customisation.

Prerequisites

NodeJS, Postgres and LinkedIn OAuth

  1. Copy .env.example to .env and fill out the parameters.
    • For LinkedIn parameters, create a developer app here.

Environment Variables

ENVIRONMENT VARIABLE EXAMPLE VALUE DESCRIPTION
DATABASE_URL postgresql://postgres:password@localhost:5432/contentcreator?schema=public Connection url to your Postgres database
NEXTAUTH_URL http://localhost:3000 Url to your app
NEXTAUTH_SECRET abcdefg Random string
LINKEDIN_CLIENT_ID abcd1234efgh5678 This is generated by the LinkedIn OAuth app
LINKEDIN_CLIENT_SECRET WER.asdflkjlkj234ljljjhg.asdf324jhghjg== This is generated by the LinkedIn OAuth app
LinkedIn OAuth Details (click to expand) Authorized redirect URLs for your app http://localhost:3000/api/auth/callback/linkedin LinkedIn OAuth screenshot of settings
  1. Install the dependencies using npm ci from the package lock file (do not use npm install unless for a specific reason).
  2. Ensure your Postgres server is running on localhost:5432 with the default username and POSTGRES_PASSWORD set as password. To start a Postgres server using Docker and Compose, use docker compose -f postgres.compose.yaml up.
  3. Create the database tables by running npm run db:dev:migrate (for production, use npm run db:prod:migrate).
  4. Seed the database by inserting example data with npm run db:dev:seed (if you need to reset the database, use npm run db:dev:reset).
  5. Start the local development server with npm run dev.

Local Development with Docker Compose

This will allow you to use your favorite IDE without having to install any dependencies on your computer.

Prerequisites

Docker and Docker Compose

  1. Clone the repository and navigate to the root of the directory.
  2. Copy .env.example to .env and fill out the parameters. Please refer to the Environment Variables section.
    • For LinkedIn parameters, create a developer app here.
    • There is no need to change the Postgres URL as it's already set in the compose.yaml file.
  3. Run docker compose up.
  4. In your browser, go to localhost:3000, and you should see the project up and running.

Join the EddieHub community

Discord http://discord.eddiehub.org

creatorsregistry's People

Contributors

eddiejaoude avatar github-actions[bot] avatar pradumnasaraf avatar akash19coder avatar idrinth avatar devesh-2002 avatar gaganpreetkaurkalsi avatar jahkamso avatar mathanraj0601 avatar md-abid-hussain avatar the-mzakrzewski avatar rajeevdash007 avatar vijaykv5 avatar sital002 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.