Skip to content

caesar-team/caesar-web-client

Repository files navigation

Welcome to Caesar.Team 👋

Version Prerequisite Code quality: A CodeQL Documentation License: PolyForm Internal Use Twitter: CaesarTeamApp

Caesar is the open-source solution for safe work with sensitive data (passwords, passports, docs etc )

Prerequisites

  • node >=14.15

Stack

  • react: ^16.8.6
  • redux: ^4.0.4
  • next: ^9.5.3
  • express: ^4.17.1
  • styled-components: ^4.3.2
  • openpgp: ^4.10.7

Installation

This project uses yarn as a package manager. You should install yarn.

Web application

  1. Update .env:
    1. Create a config file .env.development (for local development) cp packages/web-app/.env.dist packages/web-app/.env.development or .env.production (for production build) cp packages/web-app/.env.dist packages/web-app/.env.production by .env.dist
    2. Fill required values by instruction inside .env
  2. Install project dependencies yarn
  3. Run nextjs-server for local development yarn dev
  4. To open project just go to http://localhost:3000/

Build for remote server

  1. Create production build build:production
  2. Run production build on local server start:production
  3. To open project just go to http://localhost:3000/

Secure application

  1. Update .env:
    1. Create a config file .env.development (for local development) cp packages/secure-app/.env.dist packages/secure-app/.env.development or .env.production (for production build) cp packages/secure-app/.env.dist packages/secure-app/.env.production by .env.dist
    2. Fill required values by instruction inside .env
  2. Install project dependencies yarn
  3. Run nextjs-server for local development yarn secure:dev
  4. To open project just go to http://localhost:3000/

Build for remote server

  1. Create production build secure:build:production
  2. Run production build on local server secure:start:production
  3. To open project just go to http://localhost:3000/