Skip to content

Commit

Permalink
✨ Add Backend API
Browse files Browse the repository at this point in the history
  • Loading branch information
mdfarhaan committed Dec 15, 2021
1 parent 65d7952 commit 6bc2ba2
Show file tree
Hide file tree
Showing 27 changed files with 8,069 additions and 195 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//Firebase Config
NEXT_PUBLIC_API_KEY = <>
NEXT_PUBLIC_AUTH_DOMAIN = <>
NEXT_PUBLIC_PROJECT_ID = <>

//API
NEXT_PUBLIC_API_BASE = http://localhost:3000/
5 changes: 5 additions & 0 deletions API/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PORT = 5000

FIREBASE_APIKEY = <string>
FIREBASE_AUTHDOMAIN = <string>
FIREBASE_PROJECTID = <string>
35 changes: 35 additions & 0 deletions API/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build
.env

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
Loading

1 comment on commit 6bc2ba2

@vercel
Copy link

@vercel vercel bot commented on 6bc2ba2 Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.