Skip to content

Commit

Permalink
frontend komponenttien dokumentointi
Browse files Browse the repository at this point in the history
  • Loading branch information
breeku committed Dec 11, 2020
1 parent c090baa commit 56d61c0
Show file tree
Hide file tree
Showing 30 changed files with 1,202 additions and 1,076 deletions.
Empty file removed backend/jsdoc.json
Empty file.
148 changes: 0 additions & 148 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@
"sequelize-cli": "^6.2.0",
"@cypress/code-coverage": "^3.8.1"
},
"devDependencies": {
"jsdoc": "^3.6.6"
}
"devDependencies": {}
}
4 changes: 2 additions & 2 deletions backend/routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const authRouter = express.Router()

/**
* Route sisäänkirjautumiseen ja käyttäjätilin luomiseen
*
* @component
*
* @category Kirjautuminen
* @subcategory backend
*/

authRouter.post('/login', async (req, res) => {
Expand Down
4 changes: 2 additions & 2 deletions backend/routes/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const JWTKEY = process.env.JWTKEY

/**
* Route Tapahtumien varausmäärän hakemiselle, arvostelun hakemiselle, poistamiselle ja päivittämiselle sekä tapahtumien fetchaukselle ja kategorioittain hakemiselle
*
* @component
*
* @category Tapahtumat
* @subcategory backend
*/

eventsRouter.get('/reservation/:id/:count', async (req, res) => {
Expand Down
4 changes: 2 additions & 2 deletions backend/routes/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const tagsRouter = express.Router()

/**
* Route tagien hakemiselle
*
* @component
*
* @category Tagit
* @subcategory backend
*/

tagsRouter.get('/', async (req, res) => {
Expand Down
4 changes: 2 additions & 2 deletions backend/routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const JWTKEY = process.env.JWTKEY

/**
* Route käyttäjätietojen hakemiselle
*
* @component
*
* @category Käyttäjätiedot
* @subcategory backend
*/

userRouter.get('/', async (req, res) => {
Expand Down

0 comments on commit 56d61c0

Please sign in to comment.