An open API service indexing awesome lists of open source software.

https://github.com/aryaminus/tomodachi

Basic Contacts manager with React and React Native as clients serving Node over Express Backend deployed to Heroku with Postgres as database
https://github.com/aryaminus/tomodachi

axios concurrently express hooks nodejs passport postgresql react react-dom react-native reactjs styled-components

Last synced: 11 months ago
JSON representation

Basic Contacts manager with React and React Native as clients serving Node over Express Backend deployed to Heroku with Postgres as database

Awesome Lists containing this project

README

          

#

Tomodachi


  



For more refer to Medium Article and Heroku

> Alpha release

## About

This is a dummy application built using Node, React and Postgres with addition of React-Native to the system. The end-goal is to allow user to enter Contacts of their friend circle after Logging in with Facebook with basic features to edit and delete them.

## Table of content

- [About](#about)
- [Table of content](#table-of-content)
- [Installation](#installation)
- [React JS](#react-js)
- [React-Native](#react-native)
- [Contributing](#contributing)
- [References](#references)
- [Author](#author)
- [Licensing](#licensing)

## Installation

**Clone the source locally:**

```
$ git clone https://github.com/aryaminus/tomodachi
$ cd tomodachi
```

**Install required node dependencies:**

```
$ yarn && cd client && yarn && cd ../react-native-app && yarn && cd ..
```

## React JS

**Open in development mode:**

```
$ yarn dev
```

**Open in development mode with prod build:**

```
$ NODE_ENV=production yarn dev:server
```

## React-Native

**Start react-native server:**

```
$ cd react-native-app
$ yarn start
```

**Development build of react-native:** (Make sure you are in react-native-app folder)

```
$ react-native run-android
$ react-native run-ios
```

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

## References

- Connecting React and Node concurrently
- Usage of Passport for Facebook Login after react callback
- Authenticate API with JWT
- Setting up Postgresql for Mac
- Heroku Data Explorer
- SQL Injection Protection

## Author

©Sunim Acharya

## Licensing

The code in this project is licensed under GNU GPLv3 license.