Giter Site home page Giter Site logo

contacts-app's Introduction

Contacts App

Installing

Preliminary requirements:

Installing dependencies:

npm i

Building

Building backend:

npm run build

Building frontend:

npm run frontend:build

Starting

Starting in production mode:

npm start

Starting in development mode:

npm run dev

Starting in development mode (with MYSQL Server):

make run-dev

Stopping MYSQL Server:

make stop-dev

Environment variables

List of variables:

  • WEBPACK_DEV - Webpack middleware starting if 1. Default: 0.
  • PORT - Server port listening. Default: 80.
  • DATABASE_HOST - Database host. Default: localhost.
  • DATABASE_USER - Database user. Default: root.
  • DATABASE_PASSWORD - Database password. Default: qwerty123.
  • DATABASE_BASE - Database base. Default: contacts-app.

Dotenv support is present!

Code formatting

Backend code formatting:

npm run format

Frontend code formatting:

npm run frontend:format

Deploy

Building image:

make build

Pushing image:

make push

Pulling image:

make pull

Staring image:

make run

Stopping image:

make stop

Stack

General stack:

Frontend stack:

Backend stack:

Test accounts

List of accounts:

  • Account #1
    • Login: login
    • Password: qwerty123
  • Account #2
    • Login: dev2alert
    • Password: 0000
  • Account #3
    • Login: artem
    • Password: 123456

Contacts App already publicly available!

License

MIT

contacts-app's People

Contributors

the2alert 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.