项目作者: imakshath

项目描述 :
hacker news clone
高级语言: JavaScript
项目地址: git://github.com/imakshath/hacker-news-clone.git
创建时间: 2020-05-10T13:01:11Z
项目社区:https://github.com/imakshath/hacker-news-clone

开源协议:

下载


This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn build

Builds the app for production to the build folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

yarn start (SSR)

Runs the app in the development mode. Which will internally serve build assets in SSR mode.

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.

CI/CD

Added travis for CI and which will deploy the app to heroku using CD
Based on each commit to Master branch CI will trigger. It will run following steps,

  1. - npm run test
  2. - npm run build
  3. - deploy the app to Heroku

https://vast-falls-77512.herokuapp.com/

zeit now deployment

https://hacker-news-clone-cimweswt7.now.sh/

github repo

https://github.com/imakshath/hacker-news-clone