Skip to content

This project is an API server for another frontend project that is built with ReactJS.

Notifications You must be signed in to change notification settings

leoholiveira/Test-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Project Node with Express

This project is an API server for another frontend project that is built with ReactJS.

Create Database (Postgres)

Clients

Column Type Description
id uuid Not Null. Autoincrement
name varchar Not Null.
email varchar Not Null.
phone integer Not Null.
coord_x float4 Not Null.
coord_y float4 Not Null.

Config var with your database data (server.js):

  db_config = { 
    user: 'user_database',
    host: 'localhost',
    database: 'name_database',
    password: 'password_database',
    port: 5432,
  }

Run Locally

Clone the project

  git clone https://github.com/leoholiveira/Test-Node

Go to the project directory

  cd Test-Node

Install dependencies

  npm install

Start the server

  node server.js

Tech Stack

Client: React

Server: Node, Express

Database: Postgres

About

This project is an API server for another frontend project that is built with ReactJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published