Skip to content

Repository files navigation

Your collection of top ten lists


Setting up

Run npm install, then create a .env file in the root directory and fill with the properties defined below.


Environment Variables

VariableExampleNotes
AUTH_URL*https://tenliapp.comThe base URL of the project (Used for more than just authentication)
AUTH_SECRET*noneCan be automatically filled using npx auth secret
AUTH_{PROVIDER}_IDnoneReplace {PROVIDER} with the name of the provider. Example: DISCORD. At least one (1) provider is required.
AUTH_{PROVIDER}_SECRETnoneSee above notes for AUTH_{PROVIDER}_ID
DATABASE_URL*noneURL for the database with credentials. See Prisma's documentation for supported databases.
USE_ACCELERATEfalseSet this to true if you're using a Prisma provided Accelerate database. If not, set this to false
PORT3000Port the web server should run on. Defaults to 3000

*Required variable

Supported Auth Providers

  • Google
  • Discord
  • Facebook
  • Instagram

More coming soon (Or add your favorite provider and submit a PR! :))


Running

Development

  • npm run dev

Production

  • npm run build
  • npm start

About

Your collection of top ten lists

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages