Code Monkey home page Code Monkey logo

pinaple1's Introduction

pinaple1

This is webportal rush.js monorepo prototype.

The portal consists of the mesh of following applications:

  • apps/api - core rest api
  • apps/auth_be - oauth authentification backend server
  • apps/auth_fe - oauth autentification server frontent page in react - nextjs
  • apps/app_be - portal application backend
  • apps/app_fe - portal application frontend in react - nextjs

and of following sahred npm libraries:

  • common/types - common typescript definitions
  • common/www - common www utilities as well as sahred sass
  • common/components - common react components library

To install all dependencie run:

rush update

To build everything run:

rush build

To run/develop portal locally start each application (each app must be run in separate shell, e.g you may use tmux terminal multiplexer):

cd apps/api
npm run watch
cd apps/auth_be
npm run watch
cd apps/auth_fe
npm run dev
cd apps/app_be
npm run watch
cd apps/app_fe
npm run dev

Then start locally nginx server using configurartion common1/nginx/conf/nginx.conf to reverse proxy over all apps. In your /etc/hosts file define server names as follow:

127.0.0.1 pinaple-app
127.0.0.1 pinaple-auth
127.0.0.1 pinaple-api

Then the portal home page shall be available in your locall browser at https//pinaple-app/.

What's working and has been tested so far:

  • oauth code grant
  • user registration
  • login

pinaple1's People

Contributors

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