Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 64088a0b authored by Ryo Axtonlie's avatar Ryo Axtonlie
Browse files

Merge branch 'ryo' into 'master'

Adding README for diskuy front end

See merge request !75
parents 41f93931 4d240102
No related branches found
No related tags found
1 merge request!75Adding README for diskuy front end
# Getting Started with Create React App
# Diskuy Backend
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Tentang Aplikasi
## Available Scripts
Diskuy adalah sebuah aplikasi forum berbasis web. Thread-thread diskusi dengan topic yang bermacam-macam. Pengguna diwajibkan untuk mebuat akun apabila pengguna ingin mebuat topic, thread dan komen baru.
In the project directory, you can run:
## Cara Menjalankan Aplikasi
Untuk menjalankan aplikasi pada local server, perlu dilakukan langkah-langkah dibawah ini :
### `npm start`
1. Mengubah isi dari scripts.start pada package.json menjadi
"scripts": {
"start": "set PORT=3000 && react-scripts start",
...
}
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
2. Untuk menggunakan database local, ubah isi dari api_link.js dengan menukarkan baris yang uncommented menjadi commented dan sebaliknya
The page will reload if you make edits.\
You will also see any lint errors in the console.
// export const API_URL = 'https://diskuyapi.herokuapp.com/api'
export const API_URL = 'http://localhost:4000/api'
### `npm test`
3. Untuk menjalankan Aplikasi, jalankan perintah
npm i
npm run build
npm start
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
4. Buka http://localhost:3000 , aplikasi sudah dapat digunakan.
5. Untuk melakukan register pengguna perlu dicatat panjang password minimal harus 8 huruf untuk dapat terdaftar
### `npm run build`
## Authors
Kelompok 18
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
* Fadhil Pradipta - 1806205344
* Jonathan - 1806204985
* Muhammad Rafif ELfazri- 1806205722
* Ryo Axton Lie - 1806205571
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
## Acknowledgements
* CS UI - Functional Programming 2020
......@@ -72,10 +72,10 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku
## Authors
Kelompok 18
* Fadhil Pradipta -
* Jonathan Chandra -
* Fadhil Pradipta - 1806205344
* Jonathan - 1806204985
* Muhammad Rafif ELfazri- 1806205722
* Ryo Axton Lie -
* Ryo Axton Lie - 1806205571
## Acknowledgements
* CS UI - Functional Programming 2020
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment