Coder Social home page Coder Social logo

dnku / haifa-dev-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haifa-dev/server

0.0 0.0 0.0 450 KB

back-end repo for haifa dev website

License: BSD 3-Clause "New" or "Revised" License

JavaScript 90.12% Shell 0.06% Handlebars 9.82%

haifa-dev-backend's Introduction

haifa:dev / server

Prerequisites

  • You need a PostgreSQL database installed and configured. You can get PostgreSQL from here.

  • You need git to clone the project repository. You can get git from here.

  • You must have Node.js and its package manager (npm) installed. You can get them from here.

  • You can run PostgreSQL with Docker:

docker-compose up -d
# OR
sudo docker run --name postgres -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres

Getting started

  • Open the terminal at the project directory and run the command:
npm install
cp .env.example .env
npm run db:init
npm start
  • On Windows:
npm install
copy .env.example .env
npm run db:init
npm start
  • You should see the server running with the output:
Listening on port 5000
Connection to database established successfully

Now browse to the app at localhost:5000.

haifa-dev-backend's People

Contributors

gioragutt avatar polarts avatar dependabot[bot] avatar davidkubiyax avatar sergesyntax avatar haifa-dev 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.