Skip to content

Issue with posting new user to database #4

Description

@jantznick

I am running through the tutorial on your site and am getting stuck about half way through.
I am on the second part, just finished up the page controllers/authController.js. I then used postman and went to create a new user and it just stalls. Postman can not do anything with the request. I also created a form on a standalone page that uses a post request to /api/register(I switched it from sign-up in my case).

It seems to be missing the table in the database? Do you have any guidelines on creating a users table in the MySQL database or is this something sequelize should be doing and it just isn't working for me, in the models/user.js file, perhaps?

Any help on this would be appreciated, I'm loving your tutorial so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions