Giter Site home page Giter Site logo

angular-pouchdb's Introduction

AngularPouchdb

An angular webapp using local PouchDB database to display welding exercises

Quick start

Make sure you have Node version >= 8.7.0 and (NPM >= 5.6 or Yarn )

If you have Docker installed in your macchine you can simply start the development docker container with docker-compose up --build

# clone our repo
git clone https://github.com/rodridiaz/angular-pouchdb.git

# change directory to our repo
cd angular-pouchdb

# install the repo with npm
npm install
# or yarn
yarn install

# start the server
npm start
# or yarn
yarn start

go to http://0.0.0.0:4200 or http://localhost:4200 in your browser

Deployment

We just want to ship the project lightweight and as performant as possible to the production.

We will archive this in two steps:

  • Build: Build the app using Node alpine image
  • Serve: By using artefacts after build process and Nginx configs, we will serve the app.

Then, you can build our production image like this:

$ docker build -t angular-pouchdb:prod .

To test it out, you can run that image with the following command and visit http://localhost:8080/ :

$ docker run -p 8080:80 pouchdb:prod

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Built With

Authors

  • Rodrigo Díaz - Initial work

This project was generated with Angular CLI version 6.2.9.

angular-pouchdb's People

Contributors

rodridiaz avatar

Watchers

 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.