Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from Felexonyango/backendtest
Browse files Browse the repository at this point in the history
first test on registering user
  • Loading branch information
roopeshsn authored Apr 23, 2022
2 parents 4f1fe94 + 9974eb6 commit 6809335
Show file tree
Hide file tree
Showing 8 changed files with 1,648 additions and 114 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

1 change: 1 addition & 0 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ app.use(errorHandler)
const PORT = process.env.PORT || 5000

app.listen(PORT, console.log(`Server is running in ${process.env.NODE_ENV} on port ${PORT}`))
module.exports=app
4 changes: 4 additions & 0 deletions mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"timeout": 10000,
"exit": true
}
Loading

0 comments on commit 6809335

Please sign in to comment.