Features
Technology
Installation
Testing
Users can Signup on Sayurs app
Users can Login on Sayurs
Users can create a post
Users can Get all posts
Users can Get a post
Users can Update a post
Users can Delete a post
Modern JavaScript technologies were adopted in this project
ES2015: Also known as ES6 or ECMASCRIPT 6, is a new and widely used version of Javascript that makes it compete healthily with other languages. See here for more infromation.
NodeJS: Node.js is an open-source, cross-platform JavaScript run-time environment which allows you enjoy the features of Javascript off the web browsers and implement server-side web development. Visit here for more information.
ExressJS: This is the web application framework for Node.js Visit here for more information.
MongoDB, Mongoose ORM, Apollo Server GraphQL, Jsonwebtoken, Bcryptjs, Create React App, React-hooks, Semantic-UI, Apollo Client, CSS, HTML5 to mention a few.
- Clone this repository into your local computer:
git clone https://github.com/Fattylee/fattylee_social_network.git
- Navigate into the cloned repository in your computer:
Server
$ cd fattylee_social_network/server `Server`
- Install dependencies by running.
$ npm install
-
Create a
.env
file and fill the credencials using the.env.sample
file sample at the server directory -
Start the application by running
$ npm run start:dev
Start your GraphQL server on http://localhost:5000 to view it in the browser.
- Navigate into the cloned repository in your computer:
Client
$ cd fattylee_social_network/client `Client`
- Install dependencies by running.
$ npm install
-
Create a
.env
file and fill the credencials using the.env.sample
file sample at the client directory -
Start the application by running
$ npm run start:client
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
- run test using
npm test