Code Monkey home page Code Monkey logo

ginshop's Introduction

GinShop e-shop skeletop web-site

  • Clean responsive design (screenshot)
  • Product search with auto completion
  • 3 hardcoded user groups, for simplicity: admins, managers, customers.
  • Some nice css animations as well as animations on scroll via aos.js library.
  • Admin dashboard with CKEditor 5
  • Rss, xml sitemap
  • Breadcrumbs, product image zoom & ajax add to cart request and more...

Screenshots

Home page

Responsive

Dashboard

Animations

Shopping cart

Custom 404, 405, 500 error pages

Installation

Clone repo or use go get to download the project, install npm, run npm install. For the first time run the executable with seed=true flag to seed the database with initial demo data. See models/seed.go for details. Build assets with npm run build or watch them with npm run watch.

Make it your own

Let's say you want to create Amazing Website. Add a new GitHub repository https://github.com/denisbakhtin/amazingshop (replace that with your own).

Prepare ginshop: delete its .git directory.

Issue:

rm -rf src/github.com/denisbakhtin/ginshop/.git

Replace all references of github.com/denisbakhtin/ginshop with github.com/denisbakhtin/amazingshop:

grep -rl 'github.com/denisbakhtin/ginshop' ./ | xargs sed -i 's/github.com\/denisbakhtin\/ginshop/github.com\/denisbakhtin\/amazingshop/g'

Move all files to the new location:

mv src/github.com/denisbakhtin/ginshop/ src/github.com/denisbakhtin/amazingshop

And push it to the corresponding repo:

cd src/github.com/denisbakhtin/amazingshop
git init
git add --all .
git commit -m "Amazing Shop First Commit"
git remote add origin https://github.com/denisbakhtin/amazingshop.git
git push -u origin master

You can now go back to your GOPATH and check if everything is ok:

go install github.com/denisbakhtin/amazingshop

Development

For watching go files and server restart you can use https://github.com/pilu/fresh. After installation run fresh in project directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.