DATABSE
Hey people, I would like to ask for advice, I have been learning front-end and for a personal mini project, I like to create a site that will be a mini wine warehouse for my friend, but for this I have to make a database, I do have a minimum knowledge of mysql and php, but whenever I did a project was on localhost, I never worked one with an online database, do not know how to put it safer or which platform to use it, someone manages me to do a mini guide than I need to create the database correctly, it is attention only a mini project does not need to be done in the most perfect way possible.
I am very grateful to anyone who can help!...
NextJS 13.4 - how to get the ip address using server functions.
Hey! i have two questions to ask..
first, i have a server function passed to a button and getting something for backend but sadly i don't know how to get the ip address..
when i use the
NextRequest
the ip
property returns undefined and the geo
returns empty json object.. so how can i get the ip address?
...Select ranges with max simultaneous processes (SQLite)
how can i select ranges with max simultaneous processes
so first should be
{start: "2021-01-01 03:00:00", end: "2021-01-01 06:00:00", count: 3}
```sql
BEGIN TRANSACTION;...AutoIncrement using mongoose
Please Guys what is the best way to implement AutoIncrement using mongoose, i tried the best two option and it wasnt working
mongoose-sequence
mongoose-auto-increment
```js
const AutoIncrement = require('mongoose-sequence')(mongoose)...My netify cms panel is showing error on cms configuration!
I did according ko kevin's video but i am stuck here! please help me
Redirect WordPress website
Hey guys, I'm kinda in a selection process and I have to do some tasks. One of them is to redirect when a checkout happens on a WooCommerce. They gave me the code that would do it and instructions. Problem is: I don't know PHP, I came with a few ways to do it but don't know if it would lead to any problem as I don't know how PHP code works.
This is the code they sent me:
```
add_action( 'template_redirect', 'conditional_redirection_after_payment');...
npm install hangs on 'sill idealTree buildDeps' who can help me ?
npm install --save-dev webpack, i am not understanding
Auto backup DB
Who can help me?
I want to make an automatic backup of my db. But when I type ./backup.sh into my terminal nothing happens. So I don't think the backup is being made?
or do i have something wrong in my code?
ps. I use windows...
Prevent duplicate entries to be created in MongoDB query
I have a mongodb collection that is of the following schema:
```js
const ArtistSchema = new mongoose.Schema({
firstname: {
type: String,...
Querying
I'm still learn on this thing. I have 2 table, table_A (transaction log) and table_B (for references). I want to display a full name based on transaction (like 3rd pic). How can I achieve that?
Thank you....
Spotify API get currently playing track
After generating the access token. I'm doing a get request but getting a 404: invalid username. I dont know what's causing the issue. Please help.
Spotify API
Hey all! Need a little help fetching the track that I'm currently playing. I was going through the documentation and from what I've understood it says that the access token is valid only for one hour. I was planning to have a little section on a website I'm developing to show a "Now Playing - Spotify" section. How do I go about doing that? Thanks
Http Requests
Is the number of threads used to listen to http requests controlled by the developer I've been using node and I know that's single threaded, is that always the case where a single threads listens for requests or do some languages allow different threads listen to requests before handing over to handlers
Sass Build Systems fail Sass variables – Help!
I am working on an introduction to CSS Trigonometry tutorial by Kevin Powell. https://youtu.be/eO33Rh3GFGk
Everything works until the end of the tutorial where Kevin Powell demonstrates a Sass mixin to automatically process a series of CSS declarations.
I get an error that looks like this:...
Multiple dates on one id?
Who can help me, I'm really stuck!
I'll start at the beginning. I am making a platform for the cycling club. This contains all members. The intention is to keep track of all attendance and which group they drove.
Now I already have a whole system, but to be able to fill in the attendances does not work. You should select the date. Then there are input fields for each member. Such as km, rode along yes or no and which group. So now I would like to save everything to yet another document. But this doesn't work....
MVC
hello guys , i want to learn the mvc and how to use it any suggestion course or books that could help me
socketio not communicating
Got a UUID on the client but just receiving empty string on the server IDK why
Vercel not rendering my api
does anyone know y its just showing the actual code instead of rendering the code
node.js unit test resources
Any good resources for learning automated testing a rest api with Node.js/Express.js? Preferably, one that you've tried or heard good things about.