dangerdak / interstellar-soulmates Goto Github PK
View Code? Open in Web Editor NEWAlien dating app
Home Page: http://interstellar-soulmates.herokuapp.com/
Alien dating app
Home Page: http://interstellar-soulmates.herokuapp.com/
I love it so much and it's super responsive ๐ ๐ ๐ well done guys!!!!!
Using bcrypt, the passwords are hashed before they are stored in our database.
Users should only be able to view /singles, /editprofile, /user-profile if they're logged in (but anyone can see /sign-in and /sign-up)
After configuring the wrong database setup (#34), I've made an invalid request to sign up.
I get a 500 status code page with no logs on the server.
It seems that are swallowing the errors here and then not doing anything with them.
If this happens, it would be good to perhaps log the error here or handle it in the dbConnection.js
file
The site looks great - and it's a really nice idea.
Are there any particular login details - I've 'signed up', but am getting 401 errors within the site on any action....
Starting with header and footer for partials (i.e src/views/partials/header.hbs)
Page showing other users of the site
app.js should setup and configure handlebars-express and other middleware, and require and use controllers
This perhaps shouldn't be used as a check for weather you are running a development or production database.
Instead you could consider setting a NODE_ENV
or having different database configuration objects depending on which environment you are in (something like this: https://github.com/cul-2016/quiz/blob/staging/server/plugins/database.js#L18)
However, on a later attempt when I got my edited profile working, it submitted but stayed on the same page. Navigating to the save-profile endpoint to give helpful information on the profile submission being successful would be ideal!
Using the supertest module we can write tests for the different routes.
As a new developer to the project, I would like to see installation instructions for how I can run this project locally.
Something like this: https://github.com/dwyl/hapi-socketio-redis-chat-example#locally-on-your-own-machine
User should be added to the db
The current message is: 500: Sorry, we've had a problem on our end
As a developer, seeing that you are using env2
, I would like to see in the README.md
which environment variables I may need and how to get them in order to run the project locally.
Something like this: https://github.com/dwyl/hapi-socketio-redis-chat-example#running-the-tests-locally
I couldn't spot anywhere which you missed utilising the query parameter support.
This is important for preventing sql injections.
Great work ๐
write a script which uses our query files to pre populate the database with some aliens.
Write the files in the db directory.
Decide which express middleware to use for session management, and figure out the general parameters of how this will work, such as:
which middleware to use
how do we get the user id from the cookie (or from combination of cookie session id and session store)
how to do session verification
The first time I get a 500:
'500: Sorry, we've had a problem on our end'
After going back to my edit profile page and trying to submit, this time I get a 401:
'401: Access Denied'
HOWEVER!
After refreshing the page and signing up again, it worked! ๐
After I press login, i cant see singles, it says unauthorised acess
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.