Git Product home page Git Product logo

librepos's Introduction

LibrePOS

Tiny POS system written in NET Core 2.1 and Angular 6 as training for Belatrix Software.

Screenshots

Build and run

Core

First, modify the file appSettings.json to change the connection string to point to your database.

๐Ÿ’ก Tip: You can use Heroku free tier PostgreSQL service.

You need to run the dotnet restore command in order to fetch all project dependencies. After that, you need to setup the database executing dotnet ef database update. This command will create the tables in the database.

โš ๏ธ Please take care that you have installed and using DotNet 2.1 at least. Also, you need PostgreSQL 8.x to 9.x. PostgreSQL's 10.x versions probably works without inconvenients, but I didn't test it.

To run the project, just execute dotnet run.

UI

You need to compile the Typescript source code to ES5 code. To do this, just need to install the @angular/cli tool (version 6.x or highter). Once installed, just execute ng serve to run the server or ng build to generate a single bundle file.

โš ๏ธ Take care you're using node 8.x or higher to work without problems.

librepos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

librepos's Issues

Cors Issue

There is unsolved Cors issue, only get requests being served from server, non other.
My UI running on localhost:4200 and Server running on http://localhost:54854/
image

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.