caspian154 / beer-shelf

3 stars 1 forks source link

How do I make a user to log in with? #7

Closed MichaelWashburnJr closed 7 years ago

MichaelWashburnJr commented 7 years ago

I can run the app, and see the login screen. How do I initialize a user to log in with though?

caspian154 commented 7 years ago

Did you create the database? The first user has to be manually created in the database.

MichaelWashburnJr commented 7 years ago

No :( What do I do to create the database?

caspian154 commented 7 years ago

You'll need a database - I used MySQL. The connection settings are in /database.js. I have sql scripts in the /database folder. Sorry it's not very automated and clean. I wanted to focus on learning angular and node. I intend to get around to the setup and that type of stuff eventually.