Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Twitter clone with node.js

License

NotificationsYou must be signed in to change notification settings

vinitkumar/node-twitter

Build Status

Node twitter is an effort to rewrite some of Twitter's functionality using modernjavascript based toolchain. It was mostly an effort to learn Node.js and trying to reverseengineer some of twitter's feature.

It has support for tweeting, commenting and following with analytics

You can support the development here by becoming a backer:https://opencollective.com/nodetwitter/

Prerequisites

You are required to have Node.js and MongoDB installed if you'd like to run the app locally.

Install sass and grunt too to compile the CSS files

sudo npm install -g grunt-clisudo npm install -g sass

The configuration is inconfig/config.js. Please create your own.env file. You can find an example of.env file in.env.example.

Create agithub application and copy cliend id and secret to .env file:

GITHUB_CLIENT_SECRET="your_github_client_secret"GITHUB_CLIENT_ID="your_github_client_id"

Usage via Docker

The fastest way to get this running is with docker. Docker bootstrap all dependencies andyou can just run these couple of commands to get it up and running.

# first build the containerdocker-compose --log-level DEBUG build# then run the server and mongodb like this:docker-compose up

Now, open the website onhttp://localhost:3000 and it should just work.

Before building Docker container change DB link to:mongodb://mongodb/ntwitter in.env file.

Usage

# First install all the project dependencies.# run mongodb server~/ mongod~/node-twitter/ npm install# Now run the app~/node-twitter/ npm start> node-twitter@1.1.0 start~/node-twitter> node server.jsExpress app started on port 3000

Contribute

Introduction

First, thank you for considering contributing to Node Twitter

! It's people like you that make the open source community such a great community! 😊

We welcome any type of contribution, not only code. You can help with

  • QA: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
  • Marketing: writing blog posts, howto's, printing stickers, ...
  • Community: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
  • Code: take a look at theopen issues. Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
  • Money: we welcome financial contributions in full transparency on ouropen collective.

Your First Contribution

Working on your first Pull Request? You can learn how from thisfree series,How to Contribute to an Open Source Project on GitHub.

Submitting code

Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests.

Code review process

The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?

Financial contributions

We also welcome financial contributions in full transparency on ouropen collective.Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.

Questions

If you have any questions, create anissue (protip: do a quick search first to see if someone else didn't ask the same question before!).You can also reach us atmail@vinitkumar.me

Credits

Contributors

Thank you to all the people who have already contributed to node-twitter!

01234567

Backers

Thank you to all our backers! [Become a backer]

Sponsors

Thank you to all our sponsors! (please ask your company to also support this open source project bybecoming a sponsor)

License

Apache License 2.0

FOSSA Status

Important

Twitter is a registered trademark of Twitter Inc. This project is just for learning purposes and should be treated as such.

About

Twitter clone with node.js

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors13


[8]ページ先頭

©2009-2025 Movatter.jp