Seeding admin

Similarly, to seed an admin user, run the following seed command:

node server/helpers/seed.js Admin 

These three commands will get our database ready. To recap, we just used a ready-made REST API that provides a way to authenticate and authorize, get a list of users, get a list of doctors, and see individual users. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset