We Hire It ๐Ÿฐ

For a long time I have noticed that the hiring is becoming more and more popular. Car hire, holiday house hire, etc.

I have run a small hire business in the past hiring jumping castles, ride on mowers, scaffolds, and things I felt people might find useful.

I knew there was a lot to manage in the hire realm, availability, calculating price, delivery, the list goes on.

What if there was something that could help a vendor manage all their products and make it easy for clients to check availability without much labour overhead on the business? Or calculating delivery?

Thats when I thought it would be a great idea to embark on creating

http://www.wehireit.com.au

We hire it is a place you can set up your own hire store, create products, and hire them to people in your community.

in order to get it up and running, I needed to have the following basic structure:

  • A database to persist the data
  • A Back end server
  • A front end User Interface
  • Authentication

The Database

Because I was comfortable with entity framework, I decided to use Microsoft SQL Server inside a docker container…. you can get this docker image here

https://hub.docker.com/_/microsoft-mssql-server

The back end

I was also comfortable with Dot Net Core, so this seemed the natural choice. Using Nswag to help me with the connection between the database, the back end, and the front end meant that I could concentrate on the business logic and presentation instead of writing models over and over again, etc.

The front end / user interface

I liked the way angular is well used and has now been around for a while… I also liked how I can use Nswag to generate my API and models so that I can focus on the design and implementation of how my front end will function, and less on how the data will transfer between the two.

Authentication

For authentication I used a bearer token as there seemed to be some information around on getting that to work.

I set up two API endpoints, one for requests that needed authentication, and one for non authenticated requests… things like user registration, and login.

If you have any questions, please let me know over on the Contact page ๐Ÿ‘


Posted

in

, ,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *