Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update-corner #10

Closed
5 of 6 tasks
malsubmal opened this issue Jun 6, 2020 · 2 comments
Closed
5 of 6 tasks

Update-corner #10

malsubmal opened this issue Jun 6, 2020 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@malsubmal
Copy link
Contributor

malsubmal commented Jun 6, 2020

status: full functions. no linking between functions. database not tested. ci doesn't check browser.

to do:

  • add login-to-register function - Đạt
  • add login-to-calculator function - Kuerl
  • test db-register - the db trio
  • test db-login - the db trio
  • test login-calculator - việt
  • add styling to calculator - 😢 good old me
@malsubmal
Copy link
Contributor Author

malsubmal commented Jun 6, 2020

add files to public folder and connect the folder to node
in app.js:
app.use(express.static(path.join(__dirname, 'public')));
in router/user.js:

router.get('/', (req, res) => {
    res.sendFile(path.join(__dirname, '..', 'public/webcalc.html'));
});

@malsubmal
Copy link
Contributor Author

malsubmal commented Jun 6, 2020

SHELVED - not doing this anymore 💯
SHELVED - reverted to earlier version exit 0

tweak .travis.yml

install:
  - "npm install"
language: node_js
node_js: 
  - "7"
script: 
  - "node app.js"
services: 
  - mongodb

need to add node modules to cache and headless browser test

@malsubmal malsubmal self-assigned this Jun 6, 2020
@malsubmal malsubmal added the documentation Improvements or additions to documentation label Jun 6, 2020
@malsubmal malsubmal pinned this issue Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant