Skip to content

paulrozhkin/tamagotchi-server

Repository files navigation

Tamagotchi

Tamagotchi Server

GitHub package.json version

This is the server application for the Tamagotchi restaurant chain. The server provides an opportunity for customers to work with booking tables and ordering dishes in a restaurant. It also provides an opportunity for the administration to manage the infrastructure of the restaurant.


Linked Repositories


Documentation


Installation

Clone

  • Clone this repo to your local machine using git clone https://github.com/paulrozhkin/NodeJsTamagotchiServer

Setup

  • Install PostgreSQL on your machine

  • Install npm packages in project directory

$ npm install
  • Go to config\config.json and set up your environment

You can change the selected environment in config\config_setup.js

"deployment": {
    "config_id": "development",
    "app_name": "Restaurant application",
    "node_port": 3000,
    "database_name": "tamagotchi",
    "database_host": "localhost",
    "database_user": "postgres",
    "database_port": "5432",
    "migrations_directory": "migrations",
    "database_password": "sql",
    "secretOrKeyJwt": "557C3FC82F68572774A392C865F8B3A32EA49B78B23D52628F46E3E87EC0F3F3",
    "files_path": "C:\\temp\\tamagotchi_server_files",
    "ssl_key": "./config/ssl_test/key.pem",
    "ssl_cert": "./config/ssl_test/cert.pem"
  }

Using

Tools:


Contributing

To get started...

Step 1

  • Option 1

    • 🍴 Fork this repo!
  • Option 2

    • 👯 Clone this repo to your local machine using https://github.com/paulrozhkin/NodeJsTamagotchiServer

Step 2

  • HACK AWAY! 🔨🔨🔨

Step 3


License

License