Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

hyochan/hackatalk-server

No longer maintained and is transferred to hackatalk server repo.

HackaTalk Server (Deprecated)

CircleCI codecov Build Status PRs Welcome

Specification

Setup Dev env

  • Create user in local mysql server account.
  • Give appropriate name to dev.env.
    DB_CONNECTOR=postgres
    DB_HOST=localhost
    DB_USER=postgres
    DB_DATABASE=hackatalk
    DB_PORT=5432
    DB_PASSWORD=dooboolab0!
    

Test Apis

Test Graphql Apis

Migration

yarn migrate

Running in local environment

  1. Create postgres database and give privileges (You can use mysql if you wish)

    CREATE DATABASE hackatalk;
    
    CREATE ROLE `postgres` WITH LOGIN NOSUPERUSER INHERIT CREATEDB NOCREATEROLE NOREPLICATION PASSWORD 'dooboolab0!';
    
    GRANT CONNECT ON DATABASE `hackatalk` TO `postgres`;
    
    GRANT ALL PRIVILEGES ON DATABASE `hackatalk` TO `postgres`;
    
  2. Start the server

    yarn start
    

    Above will just run the server with migration.

About

HackaTalk backend server

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 10