Introduction
The purpose of this project is to see the coding standards, quality and thinking behind the approach taken. The project is based around a simple bookshop. Your solution should have the following:
Registration and login for customers only
Create three roles: Administrators, Employees, Customers
Administrator should register new users (additional admins, employees or customers)
Employees should be able to add new book and to mark an order as sent
Customers should be able to browse books and to purchase them.
The solution should have a frontend in Angular and the backend using ASP.NET Web Api (.NET Core) and Entity Framework Core with SQL Server (if you don't have SQL Server, you can download SQL Server Express). There should be some form of security implemented based on username and password, but the book orders must be linked to a specific user that logged in and made an order.
Requirements
Angular application should have components and services. If you think you need other Angular features, use them freely.
Web API should expose the following endpoints:
/api/users - When called with GET it returns all the users. When called with POST it should have a body with user information to perform registration.
/api/users/:id - When called with GET it returns a single user if it exists When called with PUT it updates a single user (with the data in the body) When called with DELETE it deletes a user (be careful, mark deleted if there are orders, or physically delete if no orders found)
/api/roles - The same rules apply here as for users.
/api/roles/:id - The same rules apply here as for users.
/api/books - The same rules apply here as for users and roles.
/api/books/:id - The same rules apply here as for users and roles.
/api/books?genre= - GET the list of all books of a specific genre.
/api/orders/ - GET all the orders, POST to register an order (don't worry about PUT to update an order)
/api/orders/:id - GET an order by ID, DELETE an order based on ID.
The frontend does not need to be very impressive, however use of one of the CSS frameworks, i.e. Bootstrap is expected.
Build and Test
Test the application, and show unit tests.
Additional notes
If something is not clear, ask to be explained. Use github as your repository and send me a link to pull the repository
Hello Sir,
I have good experience in Web Development using Angular and PHP. I have also worked on Angular Material.
I can complete your task without any issue.
Please let me know in case you want to take this discussion ahead.
Thanks,
Kamlesh
Hi,
Hope you're doing well.
I will work closely with you for this task and provide quality delivery on time.
I am new to this platform, If I had an option to do it for free I would've. but it's not allowing. We can connect and talk on it further.
Hi there,
I am working on Angular for 2+ years. I have good knowledge on your requirement. I can do your task within the given time period.
Feel free to contact me. I am new on this platform so I don't have reviews.
Regards,
Kunal