GithubHelp home page GithubHelp logo

zoltanbedi / sn-invoice-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 188 KB

Demo repository for Invoice content type

License: GNU General Public License v2.0

HTML 4.01% TypeScript 92.25% CSS 3.74%

sn-invoice-demo's Introduction

sn-react-typescript-boilerplate

Netlify Status

Boilerplate app for sensenet SPA development with React and Typescript

Package content

  • An example Hello World React SPA with sensenet repository login, written in Typescript โœจ
  • An example Jest test with Enzyme ๐Ÿ‘“
  • Preconfigured Webpack build ๐Ÿงฑ
  • prettier and eslint ๐Ÿ’…
  • husky lint & prettier precommit hook โš“

Getting started

Be sure that you have installed a GIT client, Node.JS (latest or LTS). You can use NPM or Yarn.

Using as a template

  1. Create a GIT repository with this template
  2. Clone your repository with git clone <enter-your-git-repo-url-here>
  3. cd into the cloned directory
  4. Install the package dependencies with npm install or yarn install

Starting the dev server

  1. Start the Webpack dev server with npm run start or yarn start
  2. You can browse the app once the build has been finished at http://localhost:8080/

Building the project

You can simply run npm run build or yarn build to create the bundle. It will saved to the ./bundle directory

Running tests

  1. Simply run npm run test or yarn test to run the tests. A coverage report will be also generated to the ./coverage directory

Application Structure

- src
  | - assets
  | | - static assets like images, fonts, etc...
  | - components
  | | - generic components like forms, buttons, inputs
  | - context
  | | - React contexts and context providers
  | - hooks
  | | - Custom React hooks like useCurrentUser.
  | ...
  | main / container components, layouts
  | ...
  | - app.tsx - The main entry point of your application
  | - index.tsx - React and Sensenet Repository initialization
  | - style.css - generic css overrides

Recommended goodies

sn-invoice-demo's People

Contributors

zoltanbedi avatar

Stargazers

Roman avatar  avatar

Watchers

 avatar  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.