Comments (2)
Good day Everyone,
this two links are helpful
https://codeyourfuture.github.io/syllabus-scotland/node-db/lesson5.html
https://codeyourfuture.github.io/syllabus-scotland/node-db/lesson4.html
The data model will look like this;
const schema = new Schema({
question: String,
answer: String,
helpful: Number,
unhelpful: Number
});
from cyf-faq-group.
Thanks @khaledkzy! In the future, you can use three backticks ``` to wrap your code. So three backticks, then some code, then three backticks again. It will make it easier to read. Example:
if () {
...
}
You can also use a single backtick ` to wrap inline code.
That would look like this
.
from cyf-faq-group.
Related Issues (13)
- Watch the repository HOT 3
- Create a page where unanswered questions can be seen and answered HOT 4
- Entries should be ordered by most helpful first
- Entries that are very unhelpful should not be shown
- Add eslint to the project HOT 1
- Create a database and connection HOT 1
- Change the homepage to read from the database instead of a file
- Create a form to ask a question HOT 1
- Client-side functionality for the Helpful/Not Helpful buttons HOT 1
- Create post route to handle requests from Helpful/Not Helpful buttons
- Implement the search functionality
- Prevent questions without answers from appearing in the homepage or search results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyf-faq-group.