Skip to content

siliconValleyTeamA/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

67 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pudding (server)

Global Project Funding Service

โœ‹Team Members

  • title
  • title
  • title
  • title

๐ŸงžQuick Start

1. Clone & Install Packages

git clone https://github.com/siliconValleyTeamA/server.git
cd server
npm install

2. Add config.json / secret.json / auth.json in server

  1. add cofing.json in db folder
confing.json
{
    "host": โ€œ${serverIP}โ€,
    "user": โ€œ${dbUser}โ€,
    "passwordโ€: โ€œ${dbPassword}โ€,
    "database": โ€œ${dbName}โ€
}
  1. add secret.json in root folder
secret.json
{
    "SECRET_KEY": โ€œ${loginKEY}โ€
}
  1. add auth.json in root folder
auth.json
{
    "CLIENT_ID": "${githubPassPortID}",
    "CLIENT_SECRET": "${githubPassPortID}",
    "CALLBACK_URL": "${githubCallbackURL}"
}
  1. add s3config.json in route folder
auth.json
{
    "accessKeyId": "${S3accessKeyId}",
    "secretAccessKey": "${S3secretAccessKey}",
    "region": "${S3region}"
}

3. Run develop server

npm run dev

Then, you can access to your server http://localhost:8080


API - Swagger

Swagger


๊ธฐ์ˆ  ์Šคํƒ

Backend

  • title
  • title
  • title

ETC

  • title
  • title
  • title

ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

|-- server // Backend
    |-- bin
    |   |-- www
    |
    |-- public
    |   |-- docs
    |   |   ... // ์Šค์›จ๊ฑฐ ๊ด€๋ จ ํŒŒ์ผ
    |   |
    |   |-- swagger.yaml
    |
    |-- db
    |   ... // ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ž‘์—… ์ฒ˜๋ฆฌ(config.json ์œ„์น˜)
    |
    |-- routes
    |   ... // ๋ผ์šฐํ„ฐ ์š”์ฒญ์— ๋”ฐ๋ฅธ ์ž‘์—… ์ฒ˜๋ฆฌ(s3config.json ์œ„์น˜)
    |
    |-- views
    |   ...  // pug ํŒŒ์ผ
    |
    |-- app.js
    |-- auth.json
    |-- secret.json 

About

๐ŸŒ Global Project Funding Service - server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •