milkyskies / twitter-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter App


What is Twitter App?

This is a Twitter app.

Prerequisites

Prerequisites for signing in with Twitter

Setting up the project

Here are the steps:

  1. Get the project and setup:
# Clone the repo to your current directory
git clone https://github.com/sinProject-Inc/twitter-app.git

# Install the dependencies
cd /twitter-app
npm install
  1. Create a database named twitter-app
  2. Create a .env file by copying .env.example at the top level of the project
  3. rewrite the env file:
DATABASE_URL="mysql://user:password@localhost:3306/twitter-app"

TWITTER_CLIENT_ID="{client-id}"
TWITTER_CLIENT_SECRET="{client-secret}"

Run locally

# Start the server and open the app in a new browser tab
npm run dev -- --open

Feedback

πŸ‘‰ Ask a question

πŸ‘‰ Request a new feature

πŸ‘‰ Upvote popular feature requests

πŸ‘‰ Create a bug report

πŸ‘‰ Become a sponsor

License

Copyright (c) sinProject Inc. All rights reserved.

Licensed under the MIT license.

About

License:MIT License


Languages

Language:TypeScript 53.1%Language:Svelte 36.3%Language:JavaScript 7.9%Language:Shell 1.8%Language:HTML 0.9%