Skip to content

mukundmalladi/ECommerceSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECommerceSite

Welcome to Ecommerce site. This is a basic Ecommerce web application where users can register, login view products, add products to cart and finally checkout. This web application is just a skeleton to huge Ecommerce application. The application is developed using .Net Stack. The stack contains Sql Server 2017, DotNet framework targeting 4.6.1

Stacks

I used many open source libraries to build up the application. The following are the once :

  1. Dapper along with petapoco as the ORM's for fetching and saving the data.
  2. Fluent Migrator for having control of the data base migrations.
  3. Elastic Search for handling the transactions related to adding data to cart and fetching from cart.
  4. For client side I used Jquery, and Javascript
  5. For client side validations I used the validation offered by Javascript, bootstrap and Jquery
  6. The view and desgin is done using bootstrap 4.

Notes The web application does have a credit card info but technically we should not be storing credit card info since that's not compliant. In future we can interact with third party services like paypal, Strip etc. Should be a easy code change We can also work with shipping vendors like fedex etc to track sites - but that's a long shot. The code is written in very simple format. Standard coding practices are not applied in some cases. Refactoring is one of the todo on my list. The project on the whole can be improved a lot but adding lot of functionalities. This is is a fun project that I developed so that I can learn more by developing the project on my own from scratch .

Some of the TODO's on my list are:

  1. Adding view my orders screen under user name
  2. Ability for web application admin to login and add products to database directly instead if via a database update
  3. Adding more products to the application
  4. Move Elastic search to it's own interface and refactor the code
  5. Many more refactoring.....

To set up locally

*Prerequisites:

  1. Elastic Search

  2. Visual Studio 2017(community edition works)

  3. Sql Server 2017 (developer edition works)

  4. Clone the project locally

  5. Build it - make sure the nuget packages are restored.

  6. Setup IIS to the webconfig (or)

  7. Once build is done hit f5 to run the application

  8. Need to inserts records manually to database to Inventory and products table.

  9. The register, login viewing products, adding to cart and checkout should all work as expected.

Here is few screen shots of the projects

Image Image Image Image Image Image

Acknowledgments

I would like to thank internet( 😃 ) and Google for allowing me to build this site(atleast for where it is now). I learnt a lot from the open source projects on how to build the application and what pattern to use. So thank you Google and internet for helping me google things.

Also I learnt a lot on stuff from the below links:

  1. For Dapper: https://dapper-tutorial.net/result-multi-mapping
  2. For Bootstrap: https://getbootstrap.com/docs/4.1/getting-started/introduction/
  3. For MVC framwork: https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4
  4. For Jquery: https://api.jquery.com/
  5. For Elastic Search: https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/elasticsearch-net-getting-started.html

Note:
PS: Please ignore my typo's or grammatical errors.

About

Basic ecommerce site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages