Coder Social home page Coder Social logo

maiduchuy321 / twitter-clone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mateuszwszola/twitter-clone

0.0 0.0 0.0 3.42 MB

A full-stack Twitter clone app built using MERN stack. The goal is to create similar functionality and look as it does on Twitter

Home Page: https://mw-twitter-clone.vercel.app/

JavaScript 99.29% HTML 0.65% Shell 0.06%

twitter-clone's Introduction

twitter-clone

project-preview

Description

A full-stack Twitter clone app built using Node.js, Express.js, React.js, and MongoDB.

https://mw-twitter-clone.vercel.app/

Background

The project was originally created a few years ago and as I have learned a lot since then I recently decided to update it and create the base for developing new features.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Make sure you have a running MongoDB instance.

Configuration

Copy the server/.env.example file to server/.env and update the values if your configuration is different than the default.

Installing

Install server dependencies

$ cd server
$ npm install

Install client dependencies

$ cd client
$ npm install

Start the server in development mode

$ cd server
$ npm run dev

If everything was successful, you should see the messages being displayed in the terminal, telling that the server has successfully connected to a MongoDB and runs on a given port.

Start the client

$ cd client
$ npm start

Now, the app should be running on http://localhost:3000.

Running the tests

Server

To test API routes

# run all tests
$ npm test

# or

# run all tests in watch mode
$ npm run test:watch

Client

To run tests with Cypress first, copy the client/.env file to a client/.env.local. There is a default password for test users. You do not need to change that. Then simply run:

$ npm run cypress:open

Inspirations

twitter-clone's People

Contributors

mateuszwszola avatar dependabot[bot] 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.