Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

apptolast/FamilyFilmAppBack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FamilyApp API

Development environment for the FamilyApp. Composed of an API service in Node TS, and a PostgreSQL database, both containerized in Docker.

Designed to facilitate development tasks.

Prerequisites

Docker

Docker daemon is required to start the development server. Can download from the official web:

Yarn

Package manager

Node JS - NVM

Node engine is a JavaScript runtime built on Chrome's V8 JavaScript engine. That allows to execute Javascript in our machines. We can install it through NVM (Node Version Manager), and so we need to install it first. Here is a FreeCodeCamp tutorial, very easy.

You need a version of node 12 or higher. I recomend to use Node 16.20.0 (LTS).

Download Git repository

Clone the current repository on your development machine.

Installation

Only is necesary to install the first time. The next time we want to use the server, it will only be necessary to execute the commands described in the Usage section.

In the main folder of the project:

Start a terminal and run the following command

yarn run server:create 

This will create the docker containers where our server will be running. It spend aroung 30 - 40 second on create it. Then you will see a message that says Done in 00.00s

Usage

Start development server

Use the following command to init the server.

yarn run start

Stop development server

Use the command below to stop the server, when you finish to use it.

yarn run stop

Test

You can test the app is running, navigate to localhost:3000 in your browser. You need to see the following message:

{"status":"success","message":"STATUS: OK!"}

Status

Work in progress...

About

family-app-backend@develop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors