Coder Social home page Coder Social logo

nicolaszajic / ecommerce-generics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephenlaichaowen/ecommerce-generics

0.0 0.0 0.0 21.38 MB

Ecommerce Sapper App - The generics band

Home Page: https://ecommerce-generics-sapper-app.netlify.app/

JavaScript 26.47% HTML 48.79% CSS 24.74%

ecommerce-generics's Introduction

Ecommerce ( The Generics Band ) Sapper App

DEMO

link

How to setup this project

Create a directory, for example sapper-app, and open this directory with VSCode

Clone this repo and and place under sapper-app directory

Change directory

cd ecommerce-generics-sapper-app-master

Install all the dependencies

npm i

Start development

npm run dev

Project Structure

src

  • api ( backend services, not implemented yet )
  • components
    • Nav.svelte
    • Footer.svelte
  • routes
    • index.svelte ( home page )
    • store.svelte ( store page )
    • about.svelte ( about page )
  • store
    • musicStore.js
    • tourStore.js

Upload Sapper project to Github

Create a local git repo

git init

Add all files to local repo

git add .

Commit your local git repo

git commit -m "your-comment"

Create a new repo in your Gituhb account (github.com)

Click new

Enter your Repository name and click Create repository

Establish remote connection on the command line

git remote add origin https://github.com/[your-name]/[your-repo-name].git

Push your local repo to your Github account

git push origin master

Deploy Sapper App to Netlify

Login your Netlify account

Go to app.netlify.com/teams/[your-team]/sites page

Click New site from Git

Select GitHub under Continuous Deployment

Type your repo name in Search repos input box or simply click the item list

Enter npm run export in Build command input box

Enter __sapper__/export in Publish directory input box

Click Deploy site

Recommend Learning Resources

Svelte Master / youtube channel

Svelte tutorial Sapper tutorial CSS/Component Libraries

The Net Ninja / youtube channel

Svelte Tutorial for Beginners

Svelte.js Developers

facebook

ecommerce-generics's People

Contributors

stephenlai2018 avatar

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.