This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" | |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" | |
xmlns:tns="http://www.webserviceX.NET" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" | |
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | |
targetNamespace="http://www.webserviceX.NET"> | |
<wsdl:types> | |
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET"> | |
<s:element name="GetWeather"> | |
<s:complexType> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// React JSX | |
<div className='posbtn'> | |
Password | |
<a className='text-absolute' href='/'>Reset</a> --------> The text is given position absolute | |
</div> | |
<Form.Control className='input-relative' type='text' /> --------> The input is given position relative | |
/* css | |
.input-relative{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongoose = require('mongoose') | |
const connectDB = async () => { | |
try{ | |
await mongoose.connect(process.env.MONGO_URI,{ | |
useNewUrlParser: true, | |
useUnifiedTopology: true, | |
useCreateIndex: true, | |
useFindAndModify: false | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path') | |
const express = require('express') | |
const mongoose = require('mongoose') | |
const helmet = require('helmet') // Express App Security - Headers | |
const cors = require('cors') | |
const morgan = require('morgan') // Logging Request | |
const yup = require('yup') // Schema Validations | |
const app = express() | |
const PORT = process.env.PORT || 5000 |