GithubHelp home page GithubHelp logo

messenger-backend's Introduction

Messenger app - React Native project

This app was build as a finishing portfolio project for Codaisseur Academy. My decision to build interactive, lightweight mobile app was to showcase my skills as an React Native developer and to solidify and expand my understanding of used technologies.


  1. Learning goals:

  2. Follow project progress here:

  3. Data model:

  4. Technology used”

  5. Overview of the features (with pull requests)

  6. Installation guide


Learning goals:

  • Gain experience in React Native framework

  • Learn new UI frameworks

  • To gain more experience using GraphQL:

    • setting up schemas and resolvers
    • queries and subscriptions
  • Learn animations as a part of UX


Follow project progress here:

Client

Repo:

https://github.com/mr-robak/messenger-client

Project board:

https://github.com/mr-robak/messenger-client/projects/1

Backend

Repo:

https://github.com/mr-robak/messenger-backend

Project board:

https://github.com/mr-robak/messenger-backend/projects/1


Data model:


Technology used”

  • React Native

  • Apollo CLI

  • GraphQL - queries - subscription/websockets

  • PostgreSQL

  • Apollo Server with Node Express Server


Overview of the features (with pull requests)

Installation guide

  1. Clone the app
git clone [email protected]/mr-robak/messenger-backend.git
  1. cd into your project
cd YOUR_PROJECT_NAME
  1. install dependencies
npm install
  1. Configure your database in config/config.js
// config/config.json
{
  "development": {
    "username": "postgres",
    "password": "secret",
    "database": "YOUR_PROJECT_NAME_HERE_development",
    "host": "localhost",
    "dialect": "postgres",
    "operatorsAliases": "0"
  }
}
  1. Create database, run migrations & seed data

package.json contains a script for this

npm run initdev

Or run the commands seperately

npx sequelize-cli db:create
npx sequelize-cli db:migrate
npx sequelize-cli db:seed:all
  1. start server with nodemon (recommended for development)
npm run dev
  1. or start normally
npm start

messenger-backend's People

Contributors

mr-robak avatar

Watchers

 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.