GithubHelp home page GithubHelp logo

roshansureen / dev-connector Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 6.0 3.8 MB

A full-stack MERN social network app which connects developers

JavaScript 98.71% HTML 0.90% CSS 0.38%
mern-stack webpack4 webpack-hot-middleware webpack-dev-middleware react handlebars redux bootstrap4 react-router-dom axios

dev-connector's Introduction

Dev Connector

A platform for developers to connect. They can create their portofolio by adding their experience, education, skills and other important information of their professional career.

Users can also create small posts and like/dislike and comment on other posts.

Live link: Click here


Quick Start

# clone repository
https://github.com/RoshanSureen/dev-connector.git

# Install dependencies
cd dev-connector && npm install

# create a .env file in root of your project
touch .env

In the .env file create the below 2 enviroment varieables. Make sure it is exactly as shown below. No special charecters or spaces must be there.

DB_URL=YOUR_OWN_MONGO_URI
TOKEN_SECRET=YOUR_OWN_SECRET

To run the development server:

# the development server runs on port 3000
npm run dev

To run production build:

# create code bundle
npm run build

# run production server
npm run prod

In the project a Procfile has also been provided. This file is used by Heroku.

To deploy this project to heroku see steps below:

You will need to install the heroku-cli

# Heroku-cli (paste link in browser)
https://devcenter.heroku.com/articles/heroku-cli

Afer installing heroku-cli run the following commands in terminal

# login locally
heroku login

You will be prompted to enter your email and password which is the same the email and password used when you sign up for Heroku

# create your app
heroku create

# set enviroment vareiables
heroku config:set DB_URL=YOUR_OWN_DB_URI
heroku config:set TOKEN_SECRET=YOUR_OWN_SECRET

Try to keep your production DB different from development DB

# bundle code for production
npm run build

# deploy code to heroku
git push heroku master:master





Main Technologies

Client Side

Libraries used in Client-side

Server Side

Libraries used in Server-side

dev-connector's People

Contributors

roshansureen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.