Git Product home page Git Product logo

wishedu / personal-account-frontend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 7.47 MB

Personal account web app for WISH EDU ecosystem. Auto deploy via github actions

Home Page: http://188.120.229.52:81

License: BSD 3-Clause "New" or "Revised" License

Shell 0.11% HTML 0.40% TypeScript 98.83% Dockerfile 0.64% Batchfile 0.01%
react18 typescript vite millionjs axios styled-components dockerfile redux redux-toolkit react-hook-form

personal-account-frontend's Introduction

WISH EDU

WISH EDU personal account


๐Ÿ”น Frontend web application WISH EDU service - personal account. The heart of ecosystem, provides navigation to other services, mainly for authentication and watch profiles. Platform based on microservice architecture.

๐Ÿ”น Personal account itself allow create, fill and present own profile with portfolio, wall and about me section to other people even those who are not affiliated with the university!

๐Ÿ”น Coded with best wishes for VISH RUT MIIT.


Stack

  • vite
  • typescript
  • react 18
  • million
  • react-router-dom
  • react-helmet-async
  • react-hook-form
  • redux toolkit
  • styled-components
  • MUI
  • axios

Config app

An example of the config is in .env.example, but to use it you need to create .env

Integration of the config from .env into javascript variables and all constants are in ./src/shared/constants.ts

Production mode

By docker

Way without create .env

docker build --build-arg GENERATE_SOURCEMAP=false --build-arg VITE_API_URL=VITE_API_URL --build-arg VITE_CLOUD_URL=VITE_CLOUD_URL --build-arg VITE_IS_BETA=VITE_IS_BETA -t pa-frontend-build  .

Warning: don't forget to create .env

docker build -t pa-frontend-build .

Run build container

docker run --name pa-frontend-build --restart=always -d -p 80:80 pa-frontend-build

By package manage (don't recommended)

Check installation part

pn build
pn serve

Dev mode & installation

Via system

  1. git
  2. Node.js
  3. pnpm
  4. Install all dependencies package.json

Warning: before use pn command, need to read alias in .bashrc or alias.bat, also instead pn can called pnpm

Terminal

source .bashrc

Cmd

alias.bat

Install all dependencies

cd personal-account-frontend
pn i

Run pn dev

Via docker

WIP

personal-account-frontend's People

Contributors

dependabot[bot] avatar jsinkx avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jsinkx

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.