Skip to content

DeveloperEstiven/codempire-cafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codempire Cafe

  1. General
  2. Tech stack
  3. Running applications locally

General

Project name: Codempire Cafe.

Tech stack:

  • Typescript
  • Client: React, redux-toolkit, redux-toolkit-query, styled-components
  • Api: Nest.js, nestjs/passport, swagger

Running application locally

Required local files (.env)

web/.env api/.env

For the successful run of the project application and their further correct functioning, it is necessary to insert the above files.

The application is not deployed.

To start, do the following:

  1. $ git clone {repository link};

  2. install dependencies: $ npm install (ideally done once);

  3. create Postgres Database and fill the required api/.env file according to the example below:

    • POSTGRES_LOCAL_HOST={host}
    • POSTGRES_PORT={port}
    • POSTGRES_USER={user}
    • POSTGRES_PASSWORD={password}
    • POSTGRES_DB={database-name}
    • PORT=5000
    • JWT_SECRET={jwt}
  4. create web/.env file according to the example below:

    • REACT_APP_API_URL={api-url}

Starting

web:

$ npm run start

api:

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages