Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bittricky/property-listing
Simple Property Listings App
https://github.com/bittricky/property-listing
graphql mongodb nodejs react typescript
Last synced: 4 days ago
JSON representation
Simple Property Listings App
- Host: GitHub
- URL: https://github.com/bittricky/property-listing
- Owner: bittricky
- Created: 2021-11-09T00:13:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-19T16:19:56.000Z (8 months ago)
- Last Synced: 2024-05-28T16:11:25.874Z (6 months ago)
- Topics: graphql, mongodb, nodejs, react, typescript
- Language: TypeScript
- Homepage:
- Size: 2.05 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Property Listing
> Simple listing application to view properties
## Requirements
- Install Node
- on OSX , install git and type 'brew install git'
- on OSX, install [home brew](http://brew.sh/) and type `brew install node`
- on Windows, use the installer available at [nodejs.org](http://nodejs.org/)
- On OSX you can alleviate the need to run as sudo by [following John Papa's instructions](http://jpapa.me/nomoresudo)## Getting Started
Install dependencies with the following command:
```sh
$ npm install
```The backend is utilizing [Mongodb Atlas](https://www.mongodb.com/) to host the database. After creating an account and creating a cluster following the instructions on the service.
Create an environment variable `.env` in the server directory with the following key values:
```
PORT=9000
DB_USER=
DB_USER_PASSWORD=
DB_CLUSTER=
SKIP_PREFLIGHT_CHECK=true
```Once your environment has been configured can seed the cluster with mock data:
```
$ npm run seed
```