Skip to content

YummyOreo/document-site

Document Site

Firebase Netlify TypeScript MongoDB Express.js TailwindCSS

How to get working:

  • Clone This repo

  • Once in the dir, run npm i in:

    • base
    • backend
    • frontend
  • install firebase cli and netlify cli

Frontend:

  • make a firebase project
  • clone .firebaserc example and rename it to .firebaserc. Then replace Your project name here with your projects name

Backend

  • make a discord application
  • duplicate .env example and rename it to .env
  • fill in DISCORD_CLIENT_ID with your discord app's client id
  • do the same with DISCORD_SECRET
  • go to OAuth2 > General
  • add a new redicet with the value http://localhost:9000/.netlify/functions/api/user/auth
  • then go to URL genorator and select identity and your rediret url
  • then put this into your .env file

Mongo DB

  • download mongodb

Running

  • to run, run the command npm run dev in the base dir
  • to run only backend, run npm run dev-be
  • to run only frontend, run npm run dev-fe

About

This site is used for a upcoming project!

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published